38 g_printf(
"%s %s - Compiled with %s C Compiler with support for OpenCL %s\n"
39 "Copyright (C) 2016 Nuno Fachada\n"
40 "License GPLv3+: GNU GPL version 3 or later "
41 "<http://gnu.org/licenses/gpl.html>.\n"
42 "This is free software: you are free to change and redistribute it.\n"
43 "There is NO WARRANTY, to the extent permitted by law.\n\n"
44 "Written by Nuno Fachada\n",
58 g_strfreev(str_array);
86 return g_quark_from_static_string(
"ccl-error-quark");
98 return g_quark_from_static_string(
"ccl-ocl-error-quark");
GQuark ccl_ocl_error_quark()
Resolves to error category identifying string, in this case an error in the OpenCL library...
GQuark ccl_error_quark()
Resolves to error category identifying string, in this case an error in cf4ocl.
#define CCL_OPENCL_VERSION
Version of OpenCL headers used to compile cf4ocl.
void ccl_common_version_print(const char *exec_name)
Print executable version.
#define CCL_VERSION_STRING_FINAL
Final cf4ocl version string, either CCL_VERSION_STRING for stable versions or cf4ocl2_VERSION_STRING_...
void ccl_strv_clear(char **str_array)
Frees a NULL-terminated array of strings, as well as each string it contains.
GError CCLErr
Error handling class.
void ccl_err_clear(CCLErr **err)
Releases a CCLErr object and set is to NULL.
Common cf4ocl definitions.
#define CCL_COMPILER
Compiler used to compile cf4ocl.