Package ai.rapids.cudf
Class CudaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ai.rapids.cudf.CudaException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CudaFatalException
Exception from the cuda language/library. Be aware that because of how cuda does asynchronous
processing exceptions from cuda can be thrown by method calls that did not cause the exception
to take place. These will take place on the same thread that caused the error.
Please See the cuda docs for more details on how this works.
In general you can recover from cuda errors even in async calls if you make sure that you don't switch between threads for different parts of processing that can be retried as a chunk.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The Java mirror of cudaError, which facilities the tracking of CUDA errors in JVM. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getNativeStacktrace
-
getCudaError
-