UMPIRE
Umpire: resource management and provision
device_allocator_helper.cpp File Reference

Classes

struct  umpire::detail::DestroyDeviceAllocatorExit
 

Namespaces

 umpire
 
 umpire::detail
 

Functions

__host__ __device__ DeviceAllocator umpire::get_device_allocator (const char *name)
 
__host__ __device__ DeviceAllocator umpire::get_device_allocator (int da_id)
 
__host__ __device__ bool umpire::is_device_allocator (const char *name)
 
__host__ __device__ bool umpire::is_device_allocator (int da_id)
 
__host__ DeviceAllocator umpire::make_device_allocator (Allocator allocator, size_t size, const std::string &name)
 Construct a new DeviceAllocator. Calls the private Device Allocator constructor that records the associated id. More...
 
__host__ void umpire::destroy_device_allocator ()
 

Variables

DeviceAllocator * umpire::UMPIRE_DEV_ALLOCS_h {nullptr}
 
__device__ DeviceAllocator * umpire::UMPIRE_DEV_ALLOCS {nullptr}