Struct MemoryDescriptor

(Latest Version)
struct MemoryDescriptor

Struct describing device memory resources.

Public Functions

MemoryDescriptor(rmm::cuda_stream_view stream = rmm::cuda_stream_per_thread, rmm::mr::device_memory_resource *mem_resource = nullptr)

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

rmm::mr::device_memory_resource *memory_resource

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.