HeterogeneousCore
CUDAUtilities
src
deviceAllocatorStatus.cc
Go to the documentation of this file.
1
#include "
HeterogeneousCore/CUDAUtilities/interface/deviceAllocatorStatus.h
"
2
3
#include "
getCachingDeviceAllocator.h
"
4
5
namespace
cms::cuda
{
6
allocator::GpuCachedBytes
deviceAllocatorStatus
() {
return
allocator::getCachingDeviceAllocator
().
CacheStatus
(); }
7
}
// namespace cms::cuda
cms::cuda
Definition:
PortableDeviceCollection.h:9
getCachingDeviceAllocator.h
notcub::CachingDeviceAllocator::CacheStatus
GpuCachedBytes CacheStatus() const
Definition:
CachingDeviceAllocator.h:728
cms::cuda::deviceAllocatorStatus
allocator::GpuCachedBytes deviceAllocatorStatus()
Definition:
deviceAllocatorStatus.cc:6
cms::cuda::allocator::getCachingDeviceAllocator
notcub::CachingDeviceAllocator & getCachingDeviceAllocator()
Definition:
getCachingDeviceAllocator.h:15
cms::cuda::allocator::GpuCachedBytes
std::map< int, TotalBytes > GpuCachedBytes
Map type of device ordinals to the number of cached bytes cached by each device.
Definition:
deviceAllocatorStatus.h:18
deviceAllocatorStatus.h
Generated for CMSSW Reference Manual by
1.8.14