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:
Product.h:14
notcub::CachingDeviceAllocator::CacheStatus
GpuCachedBytes CacheStatus() const
Definition:
CachingDeviceAllocator.h:753
getCachingDeviceAllocator.h
cms::cuda::deviceAllocatorStatus
allocator::GpuCachedBytes deviceAllocatorStatus()
Definition:
deviceAllocatorStatus.cc:6
deviceAllocatorStatus.h
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:16
cms::cuda::allocator::getCachingDeviceAllocator
notcub::CachingDeviceAllocator & getCachingDeviceAllocator()
Definition:
getCachingDeviceAllocator.h:45
Generated for CMSSW Reference Manual by
1.8.16