src
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
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:41
ecalDigis_cff.cuda
cuda
Definition:
ecalDigis_cff.py:35
cms::cuda::numberOfDevices
int numberOfDevices()
Definition:
numberOfDevices.cc:6
Generated for CMSSW Reference Manual by
1.8.14