|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jcuda.CudaException
public class CudaException
An exception that may be thrown due to a CUDA error.
For the JCuda runtime API, exceptions may be enabled or disabled using
JCuda#setExceptionsEnabled(boolean).
If exceptions are enabled, the CUDA binding methods will throw a
CudaException if the CUDA function did not return cudaError.cudaSuccess.
For the JCuda driver API, exceptions may be enabled or disabled using
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 Summary | |
|---|---|
CudaException(java.lang.String message)
Creates a new CudaException with the given error message. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CudaException(java.lang.String message)
message - The error message for this CudaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||