You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The <cuda/memory_resource> header provides a standard C++ interface for heterogeneous, stream-ordered memory allocation tailored to the needs of CUDA C++ developers. This design builds off of the success ofRMM and evolves the design based on lessons learned. <cuda/memory_resource> is not intended to replace RMM, but instead moves the definition of the memory allocation interface to a more centralized home in CCCL. RMM will remain as a collection of implementations of the cuda::mr interfaces.
At a high level, the header provides:
the cuda::get_property infrastructure to tag a user defined type with a given property;
the cuda::mr::{async}_resource_ref is a type-erased memory resource wrapper that enables consumers to specify properties of resources that they expect.
RMM began refactoring on top of cuda/memory_resource in #1095. A complete transition involves replacing the use of device_memory_resource in all RAPIDS repos (and other dependent libraries) and refactoring all RMM memory resources to implement the cuda::[async_]memory_resource properties rather than deriving from rmm::mr::device_memory_resource and rmm::mr::host_memory_resource.
The content you are editing has changed. Please copy your edits and refresh the page.
The
<cuda/memory_resource>
header provides a standard C++ interface for heterogeneous, stream-ordered memory allocation tailored to the needs of CUDA C++ developers. This design builds off of the success ofRMM and evolves the design based on lessons learned.<cuda/memory_resource>
is not intended to replace RMM, but instead moves the definition of the memory allocation interface to a more centralized home in CCCL. RMM will remain as a collection of implementations of the cuda::mr interfaces.At a high level, the header provides:
See the CCCL documentation for
<cuda/memory_resource>
for more details.RMM began refactoring on top of
cuda/memory_resource
in #1095. A complete transition involves replacing the use ofdevice_memory_resource
in all RAPIDS repos (and other dependent libraries) and refactoring all RMM memory resources to implement thecuda::[async_]memory_resource
properties rather than deriving fromrmm::mr::device_memory_resource
andrmm::mr::host_memory_resource
.Tasks
get_mem_info
methods from memory resources. #1388supports_streams()
from memory resources #1389cuda::mr::async_resource_ref<cuda::mr::device_accessible>
#1442cuda::memory_resource
concepts and deprecate and removedevice_memory_resource
andhost_memory_resource
base classes. #1445The text was updated successfully, but these errors were encountered: