cf4ocl (C Framework for OpenCL)
v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
|
Definition of a wrapper class and its methods for OpenCL device objects. More...
Go to the source code of this file.
Macros | |
#define | ccl_device_get_info(dev, param_name, err) |
Get a CCLWrapperInfo device information object. More... | |
#define | ccl_device_get_info_array(dev, param_name, param_type, err) |
Macro which returns an array device information value. More... | |
#define | ccl_device_get_info_scalar(dev, param_name, param_type, err) |
Macro which returns a scalar device information value. More... | |
#define | ccl_device_ref(dev) ccl_wrapper_ref((CCLWrapper*) dev) |
Increase the reference count of the device wrapper object. More... | |
#define | ccl_device_unref(dev) ccl_device_destroy(dev) |
Alias to ccl_device_destroy(). More... | |
#define | ccl_device_unwrap(dev) ((cl_device_id) ccl_wrapper_unwrap((CCLWrapper*) dev)) |
Get the OpenCL device_id object. More... | |
Functions | |
cl_uint | ccl_device_get_opencl_c_version (CCLDevice *dev, CCLErr **err) |
Get the OpenCL C version supported by the device. More... | |
cl_uint | ccl_device_get_opencl_version (CCLDevice *dev, CCLErr **err) |
Get the OpenCL version supported by the device. More... | |
Definition of a wrapper class and its methods for OpenCL device objects.
Definition in file ccl_device_wrapper.h.