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 EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, and mps_update::status.
Referenced by requireDevices().