|
JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java (public API).
|
Main Exception type for runtime OpenCL errors and failed function calls (e.g. More...
Inherits RuntimeException.
Inherited by com.jogamp.opencl.CLException.CLBuildProgramFailureException, com.jogamp.opencl.CLException.CLCompilerNotAvailableException, com.jogamp.opencl.CLException.CLDeviceNotAvailableException, com.jogamp.opencl.CLException.CLDeviceNotFoundException, com.jogamp.opencl.CLException.CLExecStatusErrorForEventsInWaitListException, com.jogamp.opencl.CLException.CLImageFormatMismatchException, com.jogamp.opencl.CLException.CLImageFormatNotSupportedException, com.jogamp.opencl.CLException.CLInvalidArgIndexException, com.jogamp.opencl.CLException.CLInvalidArgSizeException, com.jogamp.opencl.CLException.CLInvalidArgValueException, com.jogamp.opencl.CLException.CLInvalidBinaryException, com.jogamp.opencl.CLException.CLInvalidBufferSizeException, com.jogamp.opencl.CLException.CLInvalidBuildOptionsException, com.jogamp.opencl.CLException.CLInvalidCommandQueueException, com.jogamp.opencl.CLException.CLInvalidContextException, com.jogamp.opencl.CLException.CLInvalidDeviceException, com.jogamp.opencl.CLException.CLInvalidDeviceTypeException, com.jogamp.opencl.CLException.CLInvalidEventException, com.jogamp.opencl.CLException.CLInvalidEventWaitListException, com.jogamp.opencl.CLException.CLInvalidGLObjectException, com.jogamp.opencl.CLException.CLInvalidGLSharegroupReferenceKhrException, com.jogamp.opencl.CLException.CLInvalidGlobalOffsetException, com.jogamp.opencl.CLException.CLInvalidGlobalWorkSizeException, com.jogamp.opencl.CLException.CLInvalidHostPtrException, com.jogamp.opencl.CLException.CLInvalidImageFormatDescriptorException, com.jogamp.opencl.CLException.CLInvalidImageSizeException, com.jogamp.opencl.CLException.CLInvalidKernelArgsException, com.jogamp.opencl.CLException.CLInvalidKernelDefinitionException, com.jogamp.opencl.CLException.CLInvalidKernelException, com.jogamp.opencl.CLException.CLInvalidKernelNameException, com.jogamp.opencl.CLException.CLInvalidMemObjectException, com.jogamp.opencl.CLException.CLInvalidMipLevelException, com.jogamp.opencl.CLException.CLInvalidOperationException, com.jogamp.opencl.CLException.CLInvalidPlatformException, com.jogamp.opencl.CLException.CLInvalidProgramException, com.jogamp.opencl.CLException.CLInvalidProgramExecutableException, com.jogamp.opencl.CLException.CLInvalidPropertyException, com.jogamp.opencl.CLException.CLInvalidQueuePropertiesException, com.jogamp.opencl.CLException.CLInvalidSamplerException, com.jogamp.opencl.CLException.CLInvalidValueException, com.jogamp.opencl.CLException.CLInvalidWorkDimensionException, com.jogamp.opencl.CLException.CLInvalidWorkGroupSizeException, com.jogamp.opencl.CLException.CLInvalidWorkItemSizeException, com.jogamp.opencl.CLException.CLMapFailureException, com.jogamp.opencl.CLException.CLMemCopyOverlapException, com.jogamp.opencl.CLException.CLMemObjectAllocationFailureException, com.jogamp.opencl.CLException.CLMisalignedSubBufferOffsetException, com.jogamp.opencl.CLException.CLOutOfHostMemoryException, com.jogamp.opencl.CLException.CLOutOfResourcesException, com.jogamp.opencl.CLException.CLPlatformNotFoundKhrException, and com.jogamp.opencl.CLException.CLProfilingInfoNotAvailableException.
Public Member Functions | |
| CLException (final String message) | |
| String | getCLErrorString () |
| Returns a human readable String for the OpenCL error code. More... | |
Static Public Member Functions | |
| static void | checkForError (final int status, final String message) |
Throws a CLException when status != CL_SUCCESS. More... | |
| static CLException | newException (final int status, final String message) |
| Returns a CLException specific to the error code. More... | |
| static String | resolveErrorCode (final int error) |
| Returns a human readable String for the OpenCL error code or null if not known. More... | |
Public Attributes | |
| final int | errorcode |
| final String | error |
Main Exception type for runtime OpenCL errors and failed function calls (e.g.
returning not CL_SUCCESS).
Definition at line 37 of file CLException.java.
| com.jogamp.opencl.CLException.CLException | ( | final String | message | ) |
|
static |
Throws a CLException when status != CL_SUCCESS.
Definition at line 64 of file CLException.java.
| String com.jogamp.opencl.CLException.getCLErrorString | ( | ) |
Returns a human readable String for the OpenCL error code.
Definition at line 87 of file CLException.java.
|
static |
Returns a CLException specific to the error code.
Definition at line 75 of file CLException.java.
|
static |
Returns a human readable String for the OpenCL error code or null if not known.
Definition at line 97 of file CLException.java.
| final String com.jogamp.opencl.CLException.error |
Definition at line 43 of file CLException.java.
| final int com.jogamp.opencl.CLException.errorcode |
Definition at line 42 of file CLException.java.