public class RmmLoggingResourceAdaptor<C extends RmmDeviceMemoryResource> extends RmmWrappingDeviceMemoryResource<C>
wrapped| Constructor and Description |
|---|
RmmLoggingResourceAdaptor(C wrapped,
Rmm.LogConf conf,
boolean autoFlush)
Create a new logging resource adaptor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getHandle()
Returns a pointer to the underlying C++ class that implements rmm::mr::device_memory_resource
|
String |
toString() |
getWrapped, releaseWrappedpublic RmmLoggingResourceAdaptor(C wrapped, Rmm.LogConf conf, boolean autoFlush)
wrapped - the memory resource to log interactions with. This should not be reused.conf - the config of where this should be logged toautoFlush - should the results be flushed after each entry or not.public long getHandle()
RmmDeviceMemoryResourcepublic void close()
close in interface RmmDeviceMemoryResourceclose in interface AutoCloseableclose in class RmmWrappingDeviceMemoryResource<C extends RmmDeviceMemoryResource>Copyright © 2024. All rights reserved.