Struct MemoryDescriptor

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 by rmm::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

Previous Struct MatxUtil
Next Struct MessageMetaInterfaceProxy
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.