30 #ifndef _CCL_ABSTRACT_WRAPPER_H_
31 #define _CCL_ABSTRACT_WRAPPER_H_
73 CCLWrapper* wrapper2, cl_uint param_name,
size_t min_size,
79 CCLWrapper* wrapper2, cl_uint param_name,
size_t min_size,
85 CCLWrapper* wrapper2, cl_uint param_name,
size_t min_size,
int ccl_wrapper_ref_count(CCLWrapper *wrapper)
Returns the wrapper object reference count.
const char * ccl_wrapper_get_class_name(CCLWrapper *wrapper)
Get wrapper class or type name.
enum ccl_info CCLInfo
Type of information to obtain using ccl_wrapper_get_info(), ccl_wrapper_get_info_value() and ccl_wrap...
struct ccl_wrapper_info CCLWrapperInfo
Class which represents information about a wrapped OpenCL object.
size_t ccl_wrapper_get_info_size(CCLWrapper *wrapper1, CCLWrapper *wrapper2, cl_uint param_name, size_t min_size, CCLInfo info_type, cl_bool use_cache, CCLErr **err)
Get information size.
void ccl_wrapper_ref(CCLWrapper *wrapper)
Increase the reference count of the wrapper object.
CCLWrapperInfo * ccl_wrapper_get_info(CCLWrapper *wrapper1, CCLWrapper *wrapper2, cl_uint param_name, size_t min_size, CCLInfo info_type, cl_bool use_cache, CCLErr **err)
Get information about any wrapped OpenCL object.
Base class for all OpenCL wrappers.
size_t size
Size in bytes of object information.
Header for normalizing OpenCL versions within cf4ocl.
Convert OpenCL error codes to readable strings (function header).
void * value
Object information.
void * ccl_wrapper_get_info_value(CCLWrapper *wrapper1, CCLWrapper *wrapper2, cl_uint param_name, size_t min_size, CCLInfo info_type, cl_bool use_cache, CCLErr **err)
Get pointer to information value.
Class which represents information about a wrapped OpenCL object.
GError CCLErr
Error handling class.
cl_bool ccl_wrapper_memcheck()
Debug function which checks if memory allocated by wrappers has been properly freed.
Common cf4ocl definitions.
void * ccl_wrapper_unwrap(CCLWrapper *wrapper)
Get the wrapped OpenCL object.