![]() |
|
|||
File indexing completed on 2024-04-06 12:15:45
0001 #ifndef HeterogeneousCore_CUDAUtilities_requireDevices_h 0002 #define HeterogeneousCore_CUDAUtilities_requireDevices_h 0003 0004 /** 0005 * These functions are meant to be called only from unit tests. 0006 */ 0007 namespace cms { 0008 namespace cudatest { 0009 /// In presence of CUDA devices, return true; otherwise print message and return false 0010 bool testDevices(); 0011 0012 /// Print message and exit if there are no CUDA devices 0013 void requireDevices(); 0014 } // namespace cudatest 0015 } // namespace cms 0016 0017 #endif // HeterogeneousCore_CUDAUtilities_requireDevices_h
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |