Clover Git
OpenCL 1.1 software implementation
|
Special events and event management. More...
#include <CL/cl.h>
#include <core/commandqueue.h>
#include <core/events.h>
#include <core/context.h>
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) |
Special events and event management.
Definition in file api_event.cpp.
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 | ) |
Definition at line 124 of file api_event.cpp.
References Coal::Object::T_Event.
Referenced by Coal::CommandQueue::cleanEvents(), clEnqueueMapBuffer(), clEnqueueMapImage(), and Coal::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 | ||
) |
Definition at line 169 of file api_event.cpp.
References Coal::Object::isA(), Coal::Event::setStatus(), Coal::Event::status(), Coal::Object::T_Event, Coal::Event::type(), and Coal::Event::User.
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().