gocl-error
gocl-error — API related to error management
|
|
Stability Level
Unstable, unless otherwise indicated
Description
Internal functions related to error management. This API is private, not
supposed to be used in applications.
Details
GOCL_OPENCL_ERROR
#define GOCL_OPENCL_ERROR g_quark_from_string (GOCL_OPENCL_ERROR_DOMAIN_STR)
GOCL_OPENCL_ERROR_DOMAIN_STR
#define GOCL_OPENCL_ERROR_DOMAIN_STR "org.gnome.lib.gocl.OpenCL.ErrorDomain"
gocl_error_check_opencl ()
gboolean gocl_error_check_opencl (cl_int err_code
,
GError **error
);
Checks if err_code
describes an OpenCL error and fills error
pointer,
if not NULL
, with a new GError with the corresponding domain, code
and description.
err_code :
|
An OpenCL error code. [type guint64]
|
error :
|
A pointer to a GError, or NULL . [out][allow-none]
|
Returns : |
TRUE if there is an error, FALSE otherwise |