public class CudaException extends RuntimeException
JCuda#setExceptionsEnabled(boolean)
.
If exceptions are enabled, the CUDA binding methods will throw a
CudaException if the CUDA function did not return cudaError.cudaSuccess.JCudaDriver#setExceptionsEnabled(boolean)
.
If exceptions are enabled, the CUDA binding methods will throw a
CudaException if the CUDA function did not return CUresult.CUDA_SUCCESS.Constructor and Description |
---|
CudaException(String message)
Creates a new CudaException with the given error message.
|
CudaException(String message,
Throwable cause)
Creates a new CudaException with the given error message
and the given Throwable as the cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CudaException(String message)
message
- The error message for this CudaExceptionCopyright © 2020. All rights reserved.