File indexing completed on 2023-03-17 11:05:47
0001 #include "HeterogeneousCore/CUDAUtilities/interface/cachingAllocators.h"
0002
0003 #include "getCachingDeviceAllocator.h"
0004 #include "getCachingHostAllocator.h"
0005
0006 namespace cms::cuda::allocator {
0007 void cachingAllocatorsConstruct() {
0008 cms::cuda::allocator::getCachingDeviceAllocator();
0009 cms::cuda::allocator::getCachingHostAllocator();
0010 }
0011
0012 void cachingAllocatorsFreeCached() {
0013 cms::cuda::allocator::getCachingDeviceAllocator().FreeAllCached();
0014 cms::cuda::allocator::getCachingHostAllocator().FreeAllCached();
0015 }
0016 }