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

(5ce357a)

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

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

Go to the source code of this file.

Macros

#define ccl_program_get_build_info(prg, dev, param_name, err)
 Get a CCLWrapperInfo program build information object. More...
 
#define ccl_program_get_build_info_array(prg, dev, param_name, param_type, err)
 Macro which returns an array program build information value. More...
 
#define ccl_program_get_build_info_scalar(prg, dev, param_name, param_type, err)
 Macro which returns a scalar program build information value. More...
 
#define ccl_program_get_info(prg, param_name, err)
 Get a CCLWrapperInfo program information object. More...
 
#define ccl_program_get_info_array(prg, param_name, param_type, err)
 Macro which returns an array program information value. More...
 
#define ccl_program_get_info_scalar(prg, param_name, param_type, err)
 Macro which returns a scalar program information value. More...
 
#define ccl_program_ref(prg)   ccl_wrapper_ref((CCLWrapper*) prg)
 Increase the reference count of the program object. More...
 
#define ccl_program_unref(prg)   ccl_program_destroy(prg)
 Alias to ccl_program_destroy(). More...
 
#define ccl_program_unwrap(prg)   ((cl_program) ccl_wrapper_unwrap((CCLWrapper*) prg))
 Get the OpenCL program object. More...
 

Typedefs

typedef struct ccl_program_binary CCLProgramBinary
 Class which represents a binary object associated with a program and a device. More...
 

Functions

const char * ccl_program_get_build_log (CCLProgram *prg, CCLErr **err)
 Get a general build log of most recent build, compile or link, for all devices. More...
 
const char * ccl_program_get_device_build_log (CCLProgram *prg, CCLDevice *dev, CCLErr **err)
 Get build log for most recent build, compile or link for the specified device. More...
 

Detailed Description

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

Author
Nuno Fachada
Date
2016

Definition in file ccl_program_wrapper.h.