class DeviceMemoryEventHandler extends RmmEventHandler with Logging
RMM event handler to trigger spilling from the device memory store.
- Alphabetic
- By Inheritance
- DeviceMemoryEventHandler
- Logging
- RmmEventHandler
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
DeviceMemoryEventHandler(catalog: RapidsBufferCatalog, store: RapidsDeviceMemoryStore, oomDumpDir: Option[String], maxFailedOOMRetries: Int)
- store
device memory store that will be triggered to spill
- oomDumpDir
local directory to create heap dumps on GPU OOM
- maxFailedOOMRetries
maximum number of retries for OOMs after depleting the device store
Type Members
-
class
OOMRetryState extends AnyRef
A small helper class that helps keep track of retry counts as we trigger synchronizes on a completely spilled store.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAllocThresholds(): Array[Long]
- Definition Classes
- DeviceMemoryEventHandler → RmmEventHandler
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDeallocThresholds(): Array[Long]
- Definition Classes
- DeviceMemoryEventHandler → RmmEventHandler
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
onAllocFailure(allocSize: Long, retryCount: Int): Boolean
Handles RMM allocation failures by spilling buffers from device memory.
Handles RMM allocation failures by spilling buffers from device memory.
- allocSize
the byte amount that RMM failed to allocate
- retryCount
the number of times this allocation has been retried after failure
- returns
true if allocation should be reattempted or false if it should fail
- Definition Classes
- DeviceMemoryEventHandler → RmmEventHandler
-
def
onAllocFailure(arg0: Long): Boolean
- Definition Classes
- RmmEventHandler
-
def
onAllocThreshold(totalAllocated: Long): Unit
- Definition Classes
- DeviceMemoryEventHandler → RmmEventHandler
-
def
onAllocated(arg0: Long): Unit
- Definition Classes
- RmmEventHandler
-
def
onDeallocThreshold(totalAllocated: Long): Unit
- Definition Classes
- DeviceMemoryEventHandler → RmmEventHandler
-
def
onDeallocated(arg0: Long): Unit
- Definition Classes
- RmmEventHandler
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()