RmmLoggingResourceAdaptor#
- public class RmmLoggingResourceAdaptor<C extends RmmDeviceMemoryResource> extends RmmWrappingDeviceMemoryResource<C>#
A device memory resource that will log interactions.
Constructor Summary
RmmLoggingResourceAdaptor(C wrapped, Rmm.LogConf conf, boolean autoFlush)Create a new logging resource adaptor.
Method Summary
Fields inherited from class
ai.rapids.cudf.RmmWrappingDeviceMemoryResource:wrappedMethods inherited from class
ai.rapids.cudf.RmmWrappingDeviceMemoryResource:getWrapped,releaseWrappedConstructors
- 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()#