Classes | |
class | Thing |
Functions | |
void | requireDevices () |
Print message and exit if there are no CUDA devices. More... | |
bool | testDevices () |
In presence of CUDA devices, return true; otherwise print message and return false. More... | |
void cms::cudatest::requireDevices | ( | ) |
Print message and exit if there are no CUDA devices.
Definition at line 25 of file requireDevices.cc.
References beamvalidation::exit(), and testDevices().
bool cms::cudatest::testDevices | ( | ) |
In presence of CUDA devices, return true; otherwise print message and return false.
Definition at line 9 of file requireDevices.cc.
References beam_dqm_sourceclient-live_cfg::cerr, and mps_update::status.
Referenced by requireDevices().