10 if (not cudaService->
enabled()) {
12 ex <<
"Unable to choose current device because CUDAService is disabled. If CUDAService was not explicitly\n" 13 "disabled in the configuration, the probable cause is that there is no GPU or there is some problem\n" 14 "in the CUDA runtime or drivers.";
15 ex.
addContext(
"Calling cms::cuda::chooseDevice()");
int numberOfDevices() const
int chooseDevice(edm::StreamID id)
void addContext(std::string const &context)