cf4ocl (C Framework for OpenCL)  v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ccl_buffer_wrapper.h File Reference

Definition of a wrapper class and its methods for OpenCL buffer objects. More...

Include dependency graph for ccl_buffer_wrapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ccl_buffer_enqueue_unmap(buf, cq, ptr, ewl, err)   ccl_memobj_enqueue_unmap((CCLMemObj*) buf, cq, ptr, ewl, err)
 Enqueues a command to unmap a previously mapped buffer object. More...
 
#define ccl_buffer_ref(buf)   ccl_wrapper_ref((CCLWrapper*) buf)
 Increase the reference count of the buffer wrapper object. More...
 
#define ccl_buffer_unref(buf)   ccl_buffer_destroy(buf)
 Alias to ccl_buffer_destroy(). More...
 
#define ccl_buffer_unwrap(buf)   ((cl_mem) ccl_wrapper_unwrap((CCLWrapper*) buf))
 Get the OpenCL buffer object. More...
 

Detailed Description

Definition of a wrapper class and its methods for OpenCL buffer objects.

Author
Nuno Fachada
Date
2016

Definition in file ccl_buffer_wrapper.h.