|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of cl_command_queue in org.jocl |
---|
Methods in org.jocl that return cl_command_queue | |
---|---|
static cl_command_queue |
CL.clCreateCommandQueue(cl_context context,
cl_device_id device,
long properties,
int[] errcode_ret)
Creates a command-queue on a specific device. |
Methods in org.jocl with parameters of type cl_command_queue | |
---|---|
static int |
CL.clEnqueueAcquireGLObjects(cl_command_queue command_queue,
int num_objects,
cl_mem[] mem_objects,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Acquire OpenCL memory objects that have been created from OpenGL objects. |
static int |
CL.clEnqueueBarrier(cl_command_queue command_queue)
Enqueues a barrier operation. |
static int |
CL.clEnqueueCopyBuffer(cl_command_queue command_queue,
cl_mem src_buffer,
cl_mem dst_buffer,
long src_offset,
long dst_offset,
long cb,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueues a command to copy a buffer object. |
static int |
CL.clEnqueueCopyBufferToImage(cl_command_queue command_queue,
cl_mem src_buffer,
cl_mem dst_image,
long src_offset,
long[] dst_origin,
long[] region,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueues a command to copy a buffer object to an image object. |
static int |
CL.clEnqueueCopyImage(cl_command_queue command_queue,
cl_mem src_image,
cl_mem dst_image,
long[] src_origin,
long[] dst_origin,
long[] region,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueues a command to copy image objects. |
static int |
CL.clEnqueueCopyImageToBuffer(cl_command_queue command_queue,
cl_mem src_image,
cl_mem dst_buffer,
long[] src_origin,
long[] region,
long dst_offset,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueues a command to copy an image object to a buffer object. |
static java.nio.ByteBuffer |
CL.clEnqueueMapBuffer(cl_command_queue command_queue,
cl_mem buffer,
boolean blocking_map,
long map_flags,
long offset,
long cb,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event,
int[] errcode_ret)
Enqueues a command to map a region of the buffer object. |
static java.nio.ByteBuffer |
CL.clEnqueueMapImage(cl_command_queue command_queue,
cl_mem image,
boolean blocking_map,
long map_flags,
long[] origin,
long[] region,
long[] image_row_pitch,
long[] image_slice_pitch,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event,
int[] errcode_ret)
Enqueues a command to map a region in the image object. |
static int |
CL.clEnqueueMarker(cl_command_queue command_queue,
cl_event event)
Enqueues a marker command to command_queue. |
static int |
CL.clEnqueueNativeKernel(cl_command_queue command_queue,
EnqueueNativeKernelFunction user_func,
java.lang.Object args,
long cb_args,
int num_mem_objects,
cl_mem[] mem_list,
Pointer[] args_mem_loc,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueues a command to execute a native C/C++ function not compiled using the OpenCL compiler. |
static int |
CL.clEnqueueNDRangeKernel(cl_command_queue command_queue,
cl_kernel kernel,
int work_dim,
long[] global_work_offset,
long[] global_work_size,
long[] local_work_size,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueues a command to execute a kernel on a device. |
static int |
CL.clEnqueueReadBuffer(cl_command_queue command_queue,
cl_mem buffer,
boolean blocking_read,
long offset,
long cb,
Pointer ptr,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueue commands to read from a buffer object to host memory. |
static int |
CL.clEnqueueReadImage(cl_command_queue command_queue,
cl_mem image,
boolean blocking_read,
long[] origin,
long[] region,
long row_pitch,
long slice_pitch,
Pointer ptr,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueue commands to read from a 2D or 3D image object to host memory. |
static int |
CL.clEnqueueReleaseGLObjects(cl_command_queue command_queue,
int num_objects,
cl_mem[] mem_objects,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Release OpenCL memory objects that have been created from OpenGL objects. |
static int |
CL.clEnqueueTask(cl_command_queue command_queue,
cl_kernel kernel,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueues a command to execute a kernel on a device. |
static int |
CL.clEnqueueUnmapMemObject(cl_command_queue command_queue,
cl_mem memobj,
java.nio.ByteBuffer mapped_ptr,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueues a command to unmap a previously mapped region of a memory object. |
static int |
CL.clEnqueueWaitForEvents(cl_command_queue command_queue,
int num_events,
cl_event[] event_list)
Enqueues a wait for a specific event or a list of events. |
static int |
CL.clEnqueueWriteBuffer(cl_command_queue command_queue,
cl_mem buffer,
boolean blocking_write,
long offset,
long cb,
Pointer ptr,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueue commands to write from a buffer object from host memory. |
static int |
CL.clEnqueueWriteImage(cl_command_queue command_queue,
cl_mem image,
boolean blocking_write,
long[] origin,
long[] region,
long input_row_pitch,
long input_slice_pitch,
Pointer ptr,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueue commands to write to a 2D or 3D image object from host memory. |
static int |
CL.clFinish(cl_command_queue command_queue)
Blocks until all previously queued OpenCL commands have completed. |
static int |
CL.clFlush(cl_command_queue command_queue)
Issues all previously queued OpenCL commands. |
static int |
CL.clGetCommandQueueInfo(cl_command_queue command_queue,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret)
Can be used to query information about a command-queue. |
static int |
CL.clReleaseCommandQueue(cl_command_queue command_queue)
Decrements the command_queue reference count. |
static int |
CL.clRetainCommandQueue(cl_command_queue command_queue)
Increments the command_queue reference count. |
static int |
CL.clSetCommandQueueProperty(cl_command_queue command_queue,
long properties,
boolean enable,
long[] old_properties)
Can be used to enable or disable the properties of a command-queue. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |