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

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

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

Go to the source code of this file.

Macros

#define ccl_event_get_info(evt, param_name, err)
 Get a CCLWrapperInfo event information object. More...
 
#define ccl_event_get_info_array(evt, param_name, param_type, err)
 Macro which returns an array event information value. More...
 
#define ccl_event_get_info_scalar(evt, param_name, param_type, err)
 Macro which returns a scalar event information value. More...
 
#define ccl_event_get_profiling_info(evt, param_name, err)
 Get a CCLWrapperInfo event profiling information object. More...
 
#define ccl_event_get_profiling_info_array(evt, param_name, param_type, err)
 Macro which returns an array event profiling information value. More...
 
#define ccl_event_get_profiling_info_scalar(evt, param_name, param_type, err)
 Macro which returns a scalar event profiling information value. More...
 
#define ccl_event_ref(evt)   ccl_wrapper_ref((CCLWrapper*) evt)
 Increase the reference count of the event object. More...
 
#define ccl_event_unref(evt)   ccl_event_destroy(evt)
 Alias to ccl_event_destroy(). More...
 
#define ccl_event_unwrap(evt)   ((cl_event) ccl_wrapper_unwrap((CCLWrapper*) evt))
 Get the OpenCL event object. More...
 
#define ccl_ewl   ccl_event_wait_list_add
 Alias the for the ccl_event_wait_list_add() function. More...
 

Typedefs

typedef GPtrArray * CCLEventWaitList
 A list of event objects on which enqueued commands can wait. More...
 

Functions

cl_bool ccl_event_wait (CCLEventWaitList *evt_wait_lst, CCLErr **err)
 Waits on the host thread for commands identified by events in the wait list to complete. More...
 
CCLEventWaitListccl_event_wait_list_add (CCLEventWaitList *evt_wait_lst,...) G_GNUC_NULL_TERMINATED
 Add event wrapper objects to an event wait list (variable argument list version). More...
 
CCLEventWaitListccl_event_wait_list_add_v (CCLEventWaitList *evt_wait_lst, CCLEvent **evt)
 Add event wrapper objects to an event wait list (array version). More...
 
void ccl_event_wait_list_clear (CCLEventWaitList *evt_wait_lst)
 Clears an event wait list. More...
 

Detailed Description

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

Author
Nuno Fachada
Date
2016

Definition in file ccl_event_wrapper.h.