Interface RmmDeviceMemoryResource

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
RmmArenaMemoryResource, RmmCudaAsyncMemoryResource, RmmCudaMemoryResource, RmmEventHandlerResourceAdaptor, RmmLimitingResourceAdaptor, RmmLoggingResourceAdaptor, RmmManagedMemoryResource, RmmPoolMemoryResource, RmmTrackingResourceAdaptor, RmmWrappingDeviceMemoryResource

public interface RmmDeviceMemoryResource extends AutoCloseable
A resource that allocates/deallocates device memory. This is not intended to be something that a user will just subclass. This is intended to be a wrapper around a C++ class that RMM will use directly.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    long
    Returns a pointer to the underlying C++ class that implements rmm::mr::device_memory_resource
  • Method Details

    • getHandle

      long getHandle()
      Returns a pointer to the underlying C++ class that implements rmm::mr::device_memory_resource
    • close

      void close()
      Specified by:
      close in interface AutoCloseable