Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:25

0001 #ifndef HeterogeneousCore_CUDAServices_numberOfDevices_h
0002 #define HeterogeneousCore_CUDAServices_numberOfDevices_h
0003 
0004 namespace cms {
0005   namespace cuda {
0006     // Returns the number of CUDA devices
0007     // The difference wrt. the standard CUDA function or
0008     // cms::cuda::deviceCount() is that if CUDAService is disabled,
0009     // this function returns 0.
0010     int numberOfDevices();
0011   }  // namespace cuda
0012 }  // namespace cms
0013 
0014 #endif