cf4ocl (C Framework for OpenCL)
v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
|
Common cf4ocl implementations. More...
Go to the source code of this file.
Functions | |
void | ccl_common_version_print (const char *exec_name) |
Print executable version. More... | |
void | ccl_err_clear (CCLErr **err) |
Releases a CCLErr object and set is to NULL . More... | |
GQuark | ccl_error_quark () |
Resolves to error category identifying string, in this case an error in cf4ocl. More... | |
GQuark | ccl_ocl_error_quark () |
Resolves to error category identifying string, in this case an error in the OpenCL library. More... | |
void | ccl_strv_clear (char **str_array) |
Frees a NULL -terminated array of strings, as well as each string it contains. More... | |
void ccl_common_version_print | ( | const char * | exec_name | ) |
Print executable version.
[in] | exec_name | Executable name. |
Definition at line 37 of file ccl_common.c.
void ccl_err_clear | ( | CCLErr ** | err | ) |
Releases a CCLErr object and set is to NULL
.
If err
or *err
is NULL
, does nothing. Otherwise, releases memory occupied by *err
and sets *err
to NULL
.
[in] | err | A CCLErr return location. |
Definition at line 73 of file ccl_common.c.
GQuark ccl_error_quark | ( | void | ) |
Resolves to error category identifying string, in this case an error in cf4ocl.
Definition at line 85 of file ccl_common.c.
GQuark ccl_ocl_error_quark | ( | void | ) |
Resolves to error category identifying string, in this case an error in the OpenCL library.
Definition at line 97 of file ccl_common.c.
void ccl_strv_clear | ( | char ** | str_array | ) |
Frees a NULL
-terminated array of strings, as well as each string it contains.
[in] | str_array | A NULL -terminated array of strings to free. |
Definition at line 57 of file ccl_common.c.