ILGPU  0.9.0
ILGPU.Runtime.OpenCL.CLException Class Reference

Represents an OpenCL exception that can be thrown by the OpenCL runtime. More...

Inheritance diagram for ILGPU.Runtime.OpenCL.CLException:

Public Member Functions

 CLException ()
 Constructs a new OpenCL exception. More...
 
 CLException (CLError errorCode)
 Constructs a new OpenCL exception. More...
 
override void GetObjectData (SerializationInfo info, StreamingContext context)
 

Static Public Member Functions

static void ThrowIfFailed (CLError errorCode)
 Checks the given status and throws an exception in case of an error. More...
 

Properties

CLError Error [get]
 Returns the error. More...
 

Detailed Description

Represents an OpenCL exception that can be thrown by the OpenCL runtime.

Constructor & Destructor Documentation

ILGPU.Runtime.OpenCL.CLException.CLException ( )

Constructs a new OpenCL exception.

ILGPU.Runtime.OpenCL.CLException.CLException ( CLError  errorCode)

Constructs a new OpenCL exception.

Parameters
errorCodeThe OpenCL runtime error.

Member Function Documentation

override void ILGPU.Runtime.OpenCL.CLException.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)

static void ILGPU.Runtime.OpenCL.CLException.ThrowIfFailed ( CLError  errorCode)
static

Checks the given status and throws an exception in case of an error.

Parameters
errorCodeThe OpenCL error code to check.

Property Documentation

CLError ILGPU.Runtime.OpenCL.CLException.Error
get

Returns the error.


The documentation for this class was generated from the following file: