Memory resource that uses cudaMallocFromPoolAsync/cudaFreeFromPoolAsync with a managed memory pool for allocation/deallocation.
More...
#include <cuda_async_managed_memory_resource.hpp>


Public Member Functions | |
| cuda_async_managed_memory_resource () | |
| Constructs a cuda_async_managed_memory_resource with the default managed memory pool for the current device. More... | |
| cudaMemPool_t | pool_handle () const noexcept |
| Returns the underlying native handle to the CUDA pool. More... | |
| cuda_async_managed_memory_resource (cuda_async_managed_memory_resource const &)=default | |
| Default copy constructor. | |
| cuda_async_managed_memory_resource (cuda_async_managed_memory_resource &&)=default | |
| Default move constructor. | |
| cuda_async_managed_memory_resource & | operator= (cuda_async_managed_memory_resource const &)=default |
| Default copy assignment operator. More... | |
| cuda_async_managed_memory_resource & | operator= (cuda_async_managed_memory_resource &&)=default |
| Default move assignment operator. More... | |
Friends | |
| void | get_property (cuda_async_managed_memory_resource const &, cuda::mr::device_accessible) noexcept |
Enables the cuda::mr::device_accessible property. | |
| void | get_property (cuda_async_managed_memory_resource const &, cuda::mr::host_accessible) noexcept |
Enables the cuda::mr::host_accessible property. | |
Memory resource that uses cudaMallocFromPoolAsync/cudaFreeFromPoolAsync with a managed memory pool for allocation/deallocation.
| rmm::mr::cuda_async_managed_memory_resource::cuda_async_managed_memory_resource | ( | ) |
Constructs a cuda_async_managed_memory_resource with the default managed memory pool for the current device.
The default managed memory pool is the pool that is created when the device is created. Pool properties such as the release threshold are not modified.
| rmm::logic_error | if the CUDA version does not support cudaMallocFromPoolAsync with managed memory pool |
|
default |
Default move assignment operator.
|
default |
Default copy assignment operator.
|
noexcept |
Returns the underlying native handle to the CUDA pool.