RmmEventHandlerResourceAdaptor#

public class RmmEventHandlerResourceAdaptor<C extends RmmDeviceMemoryResource> extends RmmWrappingDeviceMemoryResource<C>#

A device memory resource that will give callbacks in specific situations.

Constructor Summary

Method Summary

Fields inherited from class ai.rapids.cudf.RmmWrappingDeviceMemoryResource: wrapped

Methods inherited from class ai.rapids.cudf.RmmWrappingDeviceMemoryResource: getWrapped, releaseWrapped

Constructors

public RmmEventHandlerResourceAdaptor(
C wrapped,
RmmTrackingResourceAdaptor<?> tracker,
RmmEventHandler handler,
boolean debug
)#

Create a new logging resource adaptor.

Parameters:
  • wrapped – the memory resource to get callbacks for. This should not be reused.

  • handler – the handler that will get the callbacks

  • tracker – the tracking event handler

  • debug – true if you want all the callbacks, else false

Methods

public long getHandle()#
public void close()#
public String toString()#