Struct MemoryDescriptor
Defined in File memory_descriptor.hpp
-
struct MemoryDescriptor
Struct describing device memory resources.
Public Functions
-
MemoryDescriptor(rmm::cuda_stream_view stream, cuda::mr::async_resource_ref<cuda::mr::device_accessible> mem_resource)
Construct a new MemoryDescriptor object. If
memory_resource
is null the value returned byrmm::mr::get_current_device_resource()
will be used.- Parameters
stream –
memory_resource –
- MemoryDescriptor(MemoryDescriptor &other) = default
- MemoryDescriptor(MemoryDescriptor &&other) = default
Public Members
- rmm::cuda_stream_view cuda_stream
- cuda::mr::async_resource_ref<cuda::mr::device_accessible> memory_resource
-
MemoryDescriptor(rmm::cuda_stream_view stream, cuda::mr::async_resource_ref<cuda::mr::device_accessible> mem_resource)