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_platform_wrapper.h File Reference

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

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

Go to the source code of this file.

Macros

#define ccl_platform_get_info(platf, param_name, err)
 Get a CCLWrapperInfo platform information object. More...
 
#define ccl_platform_get_info_array(platf, param_name, param_type, err)
 Macro which returns an array platform information value. More...
 
#define ccl_platform_get_info_scalar(platf, param_name, param_type, err)
 Macro which returns a scalar platform information value. More...
 
#define ccl_platform_get_info_string(platf, param_name, err)   ccl_platform_get_info_array(platf, param_name, char*, err)
 Helper macro which gets a platform information string. More...
 
#define ccl_platform_ref(platform)   ccl_wrapper_ref((CCLWrapper*) platform)
 Increase the reference count of the platform wrapper object. More...
 
#define ccl_platform_unref(platform)   ccl_platform_destroy(platform)
 Alias to ccl_platform_destroy(). More...
 
#define ccl_platform_unwrap(platform)   ((cl_platform_id) ccl_wrapper_unwrap((CCLWrapper*) platform))
 Get the OpenCL platform object. More...
 

Detailed Description

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

Author
Nuno Fachada
Date
2016

Definition in file ccl_platform_wrapper.h.