1 #ifndef _COMPADRE_KOKKOSPARSER_HPP_
2 #define _COMPADRE_KOKKOSPARSER_HPP_
4 #include "Compadre_Config.h"
29 KokkosParser(
int argc,
char* args[],
bool print_status =
false);
32 KokkosParser(
int num_threads = -1,
int numa = -1,
int device = -1,
int ngpu = -1,
bool print_status =
false);
48 int finalize(
bool hard_finalize =
false);
Class handling Kokkos command line arguments and returning parameters.
int getNumberOfGPUs() const
int getNumberOfThreads() const
Kokkos::InitArguments createInitArguments() const
KokkosParser & operator=(const KokkosParser &)=delete
void retrievePreviouslyInstantiatedKokkosInitArguments()
int finalize(bool hard_finalize=false)