Public Member Functions | Static Public Member Functions | Properties

Cloo.ComputeException Class Reference

Represents an error state that occurred while executing an OpenCL API call. More...

Inheritance diagram for Cloo.ComputeException:
Cloo.BuildProgramFailureComputeException Cloo.CompilerNotAvailableComputeException Cloo.DeviceNotAvailableComputeException Cloo.DeviceNotFoundComputeException Cloo.ImageFormatMismatchComputeException Cloo.ImageFormatNotSupportedComputeException Cloo.InvalidArgumentIndexComputeException Cloo.InvalidArgumentSizeComputeException Cloo.InvalidArgumentValueComputeException Cloo.InvalidBinaryComputeException Cloo.InvalidBufferSizeComputeException Cloo.InvalidBuildOptionsComputeException Cloo.InvalidCommandQueueComputeException Cloo.InvalidCommandQueueFlagsComputeException Cloo.InvalidContextComputeException Cloo.InvalidDeviceComputeException Cloo.InvalidDeviceTypeComputeException Cloo.InvalidEventComputeException Cloo.InvalidEventWaitListComputeException Cloo.InvalidGlobalOffsetComputeException Cloo.InvalidGLObjectComputeException Cloo.InvalidHostPointerComputeException Cloo.InvalidImageFormatDescriptorComputeException Cloo.InvalidImageSizeComputeException Cloo.InvalidKernelArgumentsComputeException Cloo.InvalidKernelComputeException Cloo.InvalidKernelDefinitionComputeException Cloo.InvalidKernelNameComputeException Cloo.InvalidMemoryObjectComputeException Cloo.InvalidMipLevelComputeException Cloo.InvalidOperationComputeException Cloo.InvalidPlatformComputeException Cloo.InvalidProgramComputeException Cloo.InvalidProgramExecutableComputeException Cloo.InvalidSamplerComputeException Cloo.InvalidValueComputeException Cloo.InvalidWorkDimensionsComputeException Cloo.InvalidWorkGroupSizeComputeException Cloo.InvalidWorkItemSizeComputeException Cloo.MapFailureComputeException Cloo.MemoryCopyOverlapComputeException Cloo.MemoryObjectAllocationFailureComputeException Cloo.OutOfHostMemoryComputeException Cloo.OutOfResourcesComputeException Cloo.ProfilingInfoNotAvailableComputeException

List of all members.

Public Member Functions

 ComputeException (ComputeErrorCode code)
 Creates a new ComputeException with a specified ComputeErrorCode.

Static Public Member Functions

static void ThrowOnError (int errorCode)
 Checks for an OpenCL error code and throws a ComputeException if such is encountered.
static void ThrowOnError (ComputeErrorCode errorCode)
 Checks for an OpenCL error code and throws a ComputeException if such is encountered.

Properties

ComputeErrorCode ComputeErrorCode [get]
 Gets the ComputeErrorCode of the ComputeException.

Detailed Description

Represents an error state that occurred while executing an OpenCL API call.

See also:
ComputeErrorCode

Constructor & Destructor Documentation

Cloo.ComputeException.ComputeException ( ComputeErrorCode  code  ) 

Creates a new ComputeException with a specified ComputeErrorCode.

Parameters:
code A ComputeErrorCode.

Member Function Documentation

static void Cloo.ComputeException.ThrowOnError ( int  errorCode  )  [static]

Checks for an OpenCL error code and throws a ComputeException if such is encountered.

Parameters:
errorCode The value to be checked for an OpenCL error.
static void Cloo.ComputeException.ThrowOnError ( ComputeErrorCode  errorCode  )  [static]

Checks for an OpenCL error code and throws a ComputeException if such is encountered.

Parameters:
errorCode The OpenCL error code.

Property Documentation

ComputeErrorCode Cloo.ComputeException.ComputeErrorCode [get]

Gets the ComputeErrorCode of the ComputeException.


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