Class CLUtil

Class Documentation

class CLUtil

Util class for CL that maps error codes to human readable strings.

Public Static Functions

static inline const char *getErrorString(cl_int error)

Util method that maps error codes to CL error strings.

Parameters:

error – the given error code

Returns:

the CL error string

static inline const char *getErrorDescription(cl_int error)

Util method that maps error codes to CL error description messages.

Parameters:

error – the given error code

Returns:

the CL error description messages