Compadre
1.2.0
|
Class handling Kokkos command line arguments and returning parameters. More...
Class handling Kokkos command line arguments and returning parameters.
Definition at line 12 of file Compadre_KokkosParser.hpp.
#include <Compadre_KokkosParser.hpp>
Public Member Functions | |
KokkosParser (int argc, char *args[], bool print_status=false) | |
KokkosParser (int num_threads=-1, int numa=-1, int device=-1, int ngpu=-1, bool print_status=false) | |
~KokkosParser () | |
int | initialize () |
int | finalize (bool hard_finalize=false) |
void | retrievePreviouslyInstantiatedKokkosInitArguments () |
Kokkos::InitArguments | createInitArguments () const |
int | getNumberOfThreads () const |
int | getNuma () const |
int | getDeviceID () const |
int | getNumberOfGPUs () const |
void | status () const |
KokkosParser & | operator= (const KokkosParser &)=delete |
Private Member Functions | |
KokkosParser () | |
Private Attributes | |
int | _num_threads |
int | _numa |
int | _device |
int | _ngpu |
bool | _called_initialize |
|
private |
Compadre::KokkosParser::KokkosParser | ( | int | argc, |
char * | args[], | ||
bool | print_status = false |
||
) |
KokkosParser::KokkosParser | ( | int | num_threads = -1 , |
int | numa = -1 , |
||
int | device = -1 , |
||
int | ngpu = -1 , |
||
bool | print_status = false |
||
) |
Definition at line 50 of file Compadre_KokkosParser.cpp.
|
inline |
Definition at line 35 of file Compadre_KokkosParser.hpp.
Kokkos::InitArguments KokkosParser::createInitArguments | ( | ) | const |
Definition at line 88 of file Compadre_KokkosParser.cpp.
int KokkosParser::finalize | ( | bool | hard_finalize = false | ) |
Definition at line 148 of file Compadre_KokkosParser.cpp.
|
inline |
Definition at line 59 of file Compadre_KokkosParser.hpp.
|
inline |
Definition at line 58 of file Compadre_KokkosParser.hpp.
|
inline |
Definition at line 60 of file Compadre_KokkosParser.hpp.
|
inline |
Definition at line 57 of file Compadre_KokkosParser.hpp.
int KokkosParser::initialize | ( | ) |
Definition at line 121 of file Compadre_KokkosParser.cpp.
|
delete |
void KokkosParser::retrievePreviouslyInstantiatedKokkosInitArguments | ( | ) |
Definition at line 96 of file Compadre_KokkosParser.cpp.
void KokkosParser::status | ( | ) | const |
Definition at line 162 of file Compadre_KokkosParser.cpp.
|
private |
Definition at line 21 of file Compadre_KokkosParser.hpp.
|
private |
Definition at line 18 of file Compadre_KokkosParser.hpp.
|
private |
Definition at line 19 of file Compadre_KokkosParser.hpp.
|
private |
Definition at line 16 of file Compadre_KokkosParser.hpp.
|
private |
Definition at line 17 of file Compadre_KokkosParser.hpp.