HeterogeneousCore
CUDAUtilities
src
cudaCompat.cc
Go to the documentation of this file.
1
#include "
HeterogeneousCore/CUDAUtilities/interface/cudaCompat.h
"
2
3
namespace
cms
{
4
namespace
cudacompat {
5
thread_local
dim3
blockIdx
;
6
thread_local
dim3
gridDim
;
7
}
// namespace cudacompat
8
}
// namespace cms
9
10
namespace
{
11
struct
InitGrid {
12
InitGrid() {
cms::cudacompat::resetGrid
(); }
13
};
14
15
const
InitGrid initGrid;
16
17
}
// namespace
cms::cudacompat::gridDim
thread_local dim3 gridDim
Definition:
cudaCompat.cc:6
cms::cudacompat::dim3
Definition:
cudaCompat.h:20
cms::cudacompat::resetGrid
void resetGrid()
Definition:
cudaCompat.h:81
cudaCompat.h
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
cms::cudacompat::blockIdx
thread_local dim3 blockIdx
Definition:
cudaCompat.cc:5
Generated for CMSSW Reference Manual by
1.8.16