Spaces:
Build error
Build error
// OpenCL Utils includes | |
// OpenCL includes | |
// STL includes | |
UTILS_EXPORT | |
cl_context cl_util_get_context(const cl_uint plat_id, const cl_uint dev_id, | |
const cl_device_type type, cl_int* const error); | |
UTILS_EXPORT | |
cl_device_id cl_util_get_device(const cl_uint plat_id, const cl_uint dev_id, | |
const cl_device_type type, cl_int* const error); | |
UTILS_EXPORT | |
cl_int cl_util_print_device_info(const cl_device_id device); | |
UTILS_EXPORT | |
char* cl_util_get_device_info(const cl_device_id device, | |
const cl_device_info info, cl_int* const error); | |
UTILS_EXPORT | |
char* cl_util_get_platform_info(const cl_platform_id platform, | |
const cl_platform_info info, | |
cl_int* const error); | |
// build program and show log if build is not successful | |
UTILS_EXPORT | |
cl_int cl_util_build_program(const cl_program pr, const cl_device_id dev, | |
const char* const opt); | |