HeterogeneousCore
CUDAServices
interface
numberOfDevices.h
Go to the documentation of this file.
1
#ifndef HeterogeneousCore_CUDAServices_numberOfDevices_h
2
#define HeterogeneousCore_CUDAServices_numberOfDevices_h
3
4
namespace
cms
{
5
namespace
cuda
{
6
// Returns the number of CUDA devices
7
// The difference wrt. the standard CUDA function or
8
// cms::cuda::deviceCount() is that if CUDAService is disabled,
9
// this function returns 0.
10
int
numberOfDevices
();
11
}
// namespace cuda
12
}
// namespace cms
13
14
#endif
cms::cuda::numberOfDevices
int numberOfDevices()
Definition:
numberOfDevices.cc:6
prod1Switch_cff.cuda
cuda
Definition:
prod1Switch_cff.py:11
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
Generated for CMSSW Reference Manual by
1.8.16