RmmLoggingResourceAdaptor#

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

A device memory resource that will log interactions.

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 RmmLoggingResourceAdaptor(
C wrapped,
Rmm.LogConf conf,
boolean autoFlush
)#

Create a new logging resource adaptor.

Parameters:
  • wrapped – the memory resource to log interactions with. This should not be reused.

  • conf – the config of where this should be logged to

  • autoFlush – should the results be flushed after each entry or not.

Methods

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