Top Description Fields Methods
com.jogamp.opencl.llb

public Interface CLEventBinding

Known Direct Subinterfaces
com.jogamp.opencl.llb.CL
Imports
com.jogamp.opencl.llb.impl.CLEventCallback, com.jogamp.gluegen.runtime.*, com.jogamp.common.os.*, com.jogamp.common.nio.*, java.nio.*

Java bindings to OpenCL events.
Author
Michael Bien, GlueGen, et al.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
CL_EVENT_CONTEXT

CType: int

public static final int

Method Summary

Modifier and TypeMethod and Description
public long
clCreateUserEvent(long context, IntBuffer
a direct or array-backed java.nio.IntBuffer
errcode_ret
)

Interface to C language function: cl_event {@native clCreateUserEvent}(cl_context context, cl_int * errcode_ret)

public long
clCreateUserEvent(long context, int[] errcode_ret, int errcode_ret_offset)

Interface to C language function: cl_event {@native clCreateUserEvent}(cl_context context, cl_int * errcode_ret)

public int
clGetEventInfo(long event, int param_name, long param_value_size, Buffer
a direct only java.nio.Buffer
param_value
,
PointerBuffer param_value_size_ret)

Interface to C language function: cl_int {@native clGetEventInfo}(cl_event event, cl_event_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)

public int
clGetEventProfilingInfo(long event, int param_name, long param_value_size, Buffer
a direct only java.nio.Buffer
param_value
,
PointerBuffer param_value_size_ret)

Interface to C language function: cl_int {@native clGetEventProfilingInfo}(cl_event event, cl_profiling_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)

public int
clReleaseEvent(long event)

Interface to C language function: cl_int {@native clReleaseEvent}(cl_event event)

public int
clRetainEvent(long event)

Interface to C language function: cl_int {@native clRetainEvent}(cl_event event)

public int
clSetEventCallback(long event, int type, CLEventCallback cb)

Interface to C language function: int32_t {@native clSetEventCallback}(cl_event event, cl_int command_exec_callback_type, void (CL_CALLBACK *pfn_event_notify) (cl_event event, cl_int event_command_exec_status, void *user_data), void *user_data);

public int
clSetUserEventStatus(long event, int execution_status)

Interface to C language function: cl_int {@native clSetUserEventStatus}(cl_event event, cl_int execution_status)

public int
clWaitForEvents(int num_events, PointerBuffer event_list)

Interface to C language function: cl_int {@native clWaitForEvents}(cl_uint num_events, const cl_event * event_list)

Field Detail

CL_EVENT_COMMAND_EXECUTION_STATUSback to summary
public static final int CL_EVENT_COMMAND_EXECUTION_STATUS

CType: int

CL_EVENT_COMMAND_QUEUEback to summary
public static final int CL_EVENT_COMMAND_QUEUE

CType: int

CL_EVENT_COMMAND_TYPEback to summary
public static final int CL_EVENT_COMMAND_TYPE

CType: int

CL_EVENT_CONTEXTback to summary
public static final int CL_EVENT_CONTEXT

CType: int

CL_EVENT_REFERENCE_COUNTback to summary
public static final int CL_EVENT_REFERENCE_COUNT

CType: int

Method Detail

clCreateUserEventback to summary
public long clCreateUserEvent(long context, IntBuffer errcode_ret)

Interface to C language function:
cl_event {@native clCreateUserEvent}(cl_context context, cl_int * errcode_ret)

Parameters
errcode_ret:IntBuffer

a direct or array-backed java.nio.IntBuffer

clCreateUserEventback to summary
public long clCreateUserEvent(long context, int[] errcode_ret, int errcode_ret_offset)

Interface to C language function:
cl_event {@native clCreateUserEvent}(cl_context context, cl_int * errcode_ret)

clGetEventInfoback to summary
public int clGetEventInfo(long event, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)

Interface to C language function:
cl_int {@native clGetEventInfo}(cl_event event, cl_event_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)

Parameters
param_value:Buffer

a direct only java.nio.Buffer

param_value_size_ret:PointerBuffer

a direct only com.jogamp.common.nio.PointerBuffer

clGetEventProfilingInfoback to summary
public int clGetEventProfilingInfo(long event, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)

Interface to C language function:
cl_int {@native clGetEventProfilingInfo}(cl_event event, cl_profiling_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)

Parameters
param_value:Buffer

a direct only java.nio.Buffer

param_value_size_ret:PointerBuffer

a direct only com.jogamp.common.nio.PointerBuffer

clReleaseEventback to summary
public int clReleaseEvent(long event)

Interface to C language function:
cl_int {@native clReleaseEvent}(cl_event event)

clRetainEventback to summary
public int clRetainEvent(long event)

Interface to C language function:
cl_int {@native clRetainEvent}(cl_event event)

clSetEventCallbackback to summary
public int clSetEventCallback(long event, int type, CLEventCallback cb)

Interface to C language function:
int32_t {@native clSetEventCallback}(cl_event event, cl_int command_exec_callback_type, void (CL_CALLBACK *pfn_event_notify) (cl_event event, cl_int event_command_exec_status, void *user_data), void *user_data);

clSetUserEventStatusback to summary
public int clSetUserEventStatus(long event, int execution_status)

Interface to C language function:
cl_int {@native clSetUserEventStatus}(cl_event event, cl_int execution_status)

clWaitForEventsback to summary
public int clWaitForEvents(int num_events, PointerBuffer event_list)

Interface to C language function:
cl_int {@native clWaitForEvents}(cl_uint num_events, const cl_event * event_list)

Parameters
event_list:PointerBuffer

a direct only com.jogamp.common.nio.PointerBuffer