CMS 3D CMS Logo

requireDevices.h
Go to the documentation of this file.
1 #ifndef HeterogeneousCore_CUDAUtilities_requireDevices_h
2 #define HeterogeneousCore_CUDAUtilities_requireDevices_h
3 
7 namespace cms {
8  namespace cudatest {
10  bool testDevices();
11 
13  void requireDevices();
14  } // namespace cudatest
15 } // namespace cms
16 
17 #endif // HeterogeneousCore_CUDAUtilities_requireDevices_h
cms::cudatest::requireDevices
void requireDevices()
Print message and exit if there are no CUDA devices.
Definition: requireDevices.cc:25
cms::cudatest::testDevices
bool testDevices()
In presence of CUDA devices, return true; otherwise print message and return false.
Definition: requireDevices.cc:9
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21