src
HeterogeneousCore
CUDAUtilities
interface
cachingAllocators.h
Go to the documentation of this file.
1
#ifndef HeterogeneousCore_CUDAUtilities_interface_cachingAllocators_h
2
#define HeterogeneousCore_CUDAUtilities_interface_cachingAllocators_h
3
4
namespace
cms::cuda::allocator
{
5
// Use caching or not
6
constexpr
bool
useCaching
=
true
;
7
8
// these intended to be called only from CUDAService
9
void
cachingAllocatorsConstruct
();
10
void
cachingAllocatorsFreeCached
();
11
}
// namespace cms::cuda::allocator
12
13
#endif
cms::cuda::allocator
Definition:
cachingAllocators.h:4
cms::cuda::allocator::cachingAllocatorsConstruct
void cachingAllocatorsConstruct()
Definition:
cachingAllocators.cc:7
cms::cuda::allocator::useCaching
constexpr bool useCaching
Definition:
cachingAllocators.h:6
cms::cuda::allocator::cachingAllocatorsFreeCached
void cachingAllocatorsFreeCached()
Definition:
cachingAllocators.cc:12
Generated for CMSSW Reference Manual by
1.8.14