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 image objects. More...
Go to the source code of this file.
Data Structures | |
struct | ccl_image_desc |
Describes the type and dimensions of the image or image array independently of the OpenCL version. More... | |
Macros | |
#define | CCL_IMAGE_DESC_BLANK {0, 0, 0, 0, 0, 0, 0, 0, 0, NULL} |
This macro can be used to set a CCLImageDesc object to all zeros. More... | |
#define | ccl_image_enqueue_unmap(img, cq, ptr, ewl, err) ccl_memobj_enqueue_unmap((CCLMemObj*) img, cq, ptr, ewl, err) |
Enqueues a command to unmap a previously mapped image object. More... | |
#define | ccl_image_get_info(img, param_name, err) |
Get a CCLWrapperInfo image information object. More... | |
#define | ccl_image_get_info_array(img, param_name, param_type, err) |
Macro which returns an array image information value. More... | |
#define | ccl_image_get_info_scalar(img, param_name, param_type, err) |
Macro which returns a scalar image information value. More... | |
#define | ccl_image_ref(img) ccl_wrapper_ref((CCLWrapper*) img) |
Increase the reference count of the image wrapper object. More... | |
#define | ccl_image_unref(img) ccl_image_destroy(img) |
Alias to ccl_image_destroy(). More... | |
#define | ccl_image_unwrap(img) ((cl_mem) ccl_wrapper_unwrap((CCLWrapper*) img)) |
Get the OpenCL image memory object. More... | |
Typedefs | |
typedef struct ccl_image_desc | CCLImageDesc |
Describes the type and dimensions of the image or image array independently of the OpenCL version. More... | |
Definition of a wrapper class and its methods for OpenCL image objects.
Definition in file ccl_image_wrapper.h.