Clover Git
OpenCL 1.1 software implementation
Functions

api_event.cpp File Reference

Special events and event management. More...

#include <CL/cl.h>
#include <core/commandqueue.h>
#include <core/events.h>
#include <core/context.h>
Include dependency graph for api_event.cpp:

Go to the source code of this file.

Functions

cl_int clWaitForEvents (cl_uint num_events, const cl_event *event_list)
cl_int clGetEventInfo (cl_event event, cl_event_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)
cl_int clSetEventCallback (cl_event event, cl_int command_exec_callback_type, void(CL_CALLBACK *pfn_event_notify)(cl_event event, cl_int exec_status, void *user_data), void *user_data)
cl_int clRetainEvent (cl_event event)
cl_int clReleaseEvent (cl_event event)
cl_event clCreateUserEvent (cl_context context, cl_int *errcode_ret)
cl_int clSetUserEventStatus (cl_event event, cl_int execution_status)

Detailed Description

Special events and event management.

Definition in file api_event.cpp.


Function Documentation

cl_event clCreateUserEvent ( cl_context  context,
cl_int *  errcode_ret 
)

Definition at line 139 of file api_event.cpp.

References Coal::Object::T_Context.

cl_int clGetEventInfo ( cl_event  event,
cl_event_info  param_name,
size_t  param_value_size,
void *  param_value,
size_t *  param_value_size_ret 
)

Definition at line 80 of file api_event.cpp.

References Coal::Object::T_Event.

cl_int clReleaseEvent ( cl_event  event)
cl_int clRetainEvent ( cl_event  event)

Definition at line 113 of file api_event.cpp.

References Coal::Object::T_Event.

Referenced by Coal::Event::Event().

cl_int clSetEventCallback ( cl_event  event,
cl_int  command_exec_callback_type,
void(CL_CALLBACK *pfn_event_notify)(cl_event event,cl_int exec_status,void *user_data)  ,
void *  user_data 
)

Definition at line 94 of file api_event.cpp.

References Coal::Object::T_Event.

cl_int clSetUserEventStatus ( cl_event  event,
cl_int  execution_status 
)
cl_int clWaitForEvents ( cl_uint  num_events,
const cl_event *  event_list 
)

Definition at line 41 of file api_event.cpp.

References Coal::Event::Complete, and Coal::Object::T_Event.

Referenced by queueEvent().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines