Uses of Class
org.jocl.cl_command_queue
-
Uses of cl_command_queue in org.jocl
Methods in org.jocl that return cl_command_queueModifier and TypeMethodDescriptionstatic cl_command_queueCL.clCreateCommandQueue(cl_context context, cl_device_id device, long properties, int[] errcode_ret) Deprecated.As of OpenCL 2.0.private static cl_command_queueCL.clCreateCommandQueueNative(cl_context context, cl_device_id device, long properties, int[] errcode_ret) static cl_command_queueCL.clCreateCommandQueueWithProperties(cl_context context, cl_device_id device, cl_queue_properties properties, int[] errcode_ret) Create a host or device command-queue on a specific device.private static cl_command_queueCL.clCreateCommandQueueWithPropertiesNative(cl_context context, cl_device_id device, cl_queue_properties properties, int[] errcode_ret) Methods in org.jocl with parameters of type cl_command_queueModifier and TypeMethodDescriptionstatic intCL.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.private static intCL.clEnqueueAcquireGLObjectsNative(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) static intCL.clEnqueueBarrier(cl_command_queue command_queue) Deprecated.As of OpenCL 1.2private static intCL.clEnqueueBarrierNative(cl_command_queue command_queue) static intCL.clEnqueueBarrierWithWaitList(cl_command_queue command_queue, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) A synchronization point that enqueues a barrier operation.private static intCL.clEnqueueBarrierWithWaitListNative(cl_command_queue command_queue, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.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 from one buffer object to another.private static intCL.clEnqueueCopyBufferNative(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) static intCL.clEnqueueCopyBufferRect(cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, long[] src_origin, long[] dst_origin, long[] region, long src_row_pitch, long src_slice_pitch, long dst_row_pitch, long dst_slice_pitch, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a command to copy a rectangular region from the buffer object to another buffer object.private static intCL.clEnqueueCopyBufferRectNative(cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, long[] src_origin, long[] dst_origin, long[] region, long src_row_pitch, long src_slice_pitch, long dst_row_pitch, long dst_slice_pitch, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.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.private static intCL.clEnqueueCopyBufferToImageNative(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) static intCL.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.private static intCL.clEnqueueCopyImageNative(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) static intCL.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.private static intCL.clEnqueueCopyImageToBufferNative(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) static intCL.clEnqueueFillBuffer(cl_command_queue command_queue, cl_mem buffer, Pointer pattern, long pattern_size, long offset, long size, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a command to fill a buffer object with a pattern of a given pattern size.private static intCL.clEnqueueFillBufferNative(cl_command_queue command_queue, cl_mem buffer, Pointer pattern, long pattern_size, long offset, long size, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueFillImage(cl_command_queue command_queue, cl_mem image, Pointer fill_color, long[] origin, long[] region, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a command to fill an image object with a specified color.private static intCL.clEnqueueFillImageNative(cl_command_queue command_queue, cl_mem image, Pointer fill_color, long[] origin, long[] region, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static ByteBufferCL.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 given bybufferinto the host address space and returns a pointer to this mapped region.private static ByteBufferCL.clEnqueueMapBufferNative(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) static ByteBufferCL.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 of an image object into the host address space and returns a pointer to this mapped region.private static ByteBufferCL.clEnqueueMapImageNative(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) static intCL.clEnqueueMarker(cl_command_queue command_queue, cl_event event) Deprecated.As of OpenCL 1.2private static intCL.clEnqueueMarkerNative(cl_command_queue command_queue, cl_event event) static intCL.clEnqueueMarkerWithWaitList(cl_command_queue command_queue, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a marker command which waits for either a list of events to complete, or all previously enqueued commands to complete.private static intCL.clEnqueueMarkerWithWaitListNative(cl_command_queue command_queue, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueMigrateMemObjects(cl_command_queue command_queue, int num_mem_objects, cl_mem[] mem_objects, long flags, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a command to indicate which device a set of memory objects should be associated with.private static intCL.clEnqueueMigrateMemObjectsNative(cl_command_queue command_queue, int num_mem_objects, cl_mem[] mem_objects, long flags, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueNativeKernel(cl_command_queue command_queue, EnqueueNativeKernelFunction user_func, 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.private static intCL.clEnqueueNativeKernelNative(cl_command_queue command_queue, EnqueueNativeKernelFunction user_func, 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) static intCL.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.private static intCL.clEnqueueNDRangeKernelNative(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) static intCL.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.private static intCL.clEnqueueReadBufferNative(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) static intCL.clEnqueueReadBufferRect(cl_command_queue command_queue, cl_mem buffer, boolean blocking_read, long[] buffer_offset, long[] host_offset, long[] region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, Pointer ptr, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueue commands to read from a rectangular region from a buffer object to host memory.private static intCL.clEnqueueReadBufferRectNative(cl_command_queue command_queue, cl_mem buffer, boolean blocking_read, long[] buffer_offset, long[] host_offset, long[] region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, Pointer ptr, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.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) Enqueues a command to read from a 2D or 3D image object to host memory.private static intCL.clEnqueueReadImageNative(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) static intCL.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.private static intCL.clEnqueueReleaseGLObjectsNative(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) static intCL.clEnqueueSVMFree(cl_command_queue command_queue, int num_svm_pointers, Pointer[] svm_pointers, SVMFreeFunction pfn_free_func, Object user_data, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a command to free the shared virtual memory allocated using clSVMAlloc or a shared system memory pointer.private static intCL.clEnqueueSVMFreeNative(cl_command_queue command_queue, int num_svm_pointers, Pointer[] svm_pointers, SVMFreeFunction pfn_free_func, Object user_data, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueSVMMap(cl_command_queue command_queue, boolean blocking_map, long flags, Pointer svm_ptr, long size, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a command that will allow the host to update a region of a SVM buffer.private static intCL.clEnqueueSVMMapNative(cl_command_queue command_queue, boolean blocking_map, long flags, Pointer svm_ptr, long size, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueSVMMemcpy(cl_command_queue command_queue, boolean blocking_copy, Pointer dst_ptr, Pointer src_ptr, long size, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a command to do a memcpy operation.private static intCL.clEnqueueSVMMemcpyNative(cl_command_queue command_queue, boolean blocking_copy, Pointer dst_ptr, Pointer src_ptr, long size, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueSVMMemFill(cl_command_queue command_queue, Pointer svm_ptr, Pointer pattern, long pattern_size, long size, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a command to fill a region in memory with a pattern of a given pattern size.private static intCL.clEnqueueSVMMemFillNative(cl_command_queue command_queue, Pointer svm_ptr, Pointer pattern, long pattern_size, long size, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueSVMUnmap(cl_command_queue command_queue, Pointer svm_ptr, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueues a command to indicate that the host has completed updating the region given bysvm_ptrand which was specified in a previous call to clEnqueueSVMMap.private static intCL.clEnqueueSVMUnmapNative(cl_command_queue command_queue, Pointer svm_ptr, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueTask(cl_command_queue command_queue, cl_kernel kernel, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Deprecated.As of OpenCL 2.0private static intCL.clEnqueueTaskNative(cl_command_queue command_queue, cl_kernel kernel, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueUnmapMemObject(cl_command_queue command_queue, cl_mem memobj, 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.private static intCL.clEnqueueUnmapMemObjectNative(cl_command_queue command_queue, cl_mem memobj, ByteBuffer mapped_ptr, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.clEnqueueWaitForEvents(cl_command_queue command_queue, int num_events, cl_event[] event_list) Deprecated.As of OpenCL 1.2private static intCL.clEnqueueWaitForEventsNative(cl_command_queue command_queue, int num_events, cl_event[] event_list) static intCL.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 to a buffer object from host memory.private static intCL.clEnqueueWriteBufferNative(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) static intCL.clEnqueueWriteBufferRect(cl_command_queue command_queue, cl_mem buffer, boolean blocking_write, long[] buffer_offset, long[] host_offset, long[] region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, Pointer ptr, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) Enqueue commands to write a rectangular region to a buffer object from host memory.private static intCL.clEnqueueWriteBufferRectNative(cl_command_queue command_queue, cl_mem buffer, boolean blocking_write, long[] buffer_offset, long[] host_offset, long[] region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, Pointer ptr, int num_events_in_wait_list, cl_event[] event_wait_list, cl_event event) static intCL.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) Enqueues a command to write to a 2D or 3D image object from host memory.private static intCL.clEnqueueWriteImageNative(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) static intCL.clFinish(cl_command_queue command_queue) Blocks until all previously queued OpenCL commands in a command-queue are issued to the associated device and have completed.private static intCL.clFinishNative(cl_command_queue command_queue) static intCL.clFlush(cl_command_queue command_queue) Issues all previously queued OpenCL commands in a command-queue to the device associated with the command-queue.private static intCL.clFlushNative(cl_command_queue command_queue) static intCL.clGetCommandQueueInfo(cl_command_queue command_queue, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) Query information about a command-queue.private static intCL.clGetCommandQueueInfoNative(cl_command_queue command_queue, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) static intCL.clReleaseCommandQueue(cl_command_queue command_queue) Decrements thecommand_queuereference count.private static intCL.clReleaseCommandQueueNative(cl_command_queue command_queue) static intCL.clRetainCommandQueue(cl_command_queue command_queue) Increments thecommand_queuereference count.private static intCL.clRetainCommandQueueNative(cl_command_queue command_queue) static intCL.clSetCommandQueueProperty(cl_command_queue command_queue, long properties, boolean enable, long[] old_properties) Deprecated.This API introduces mutable state into the OpenCL implementation.private static intCL.clSetCommandQueuePropertyNative(cl_command_queue command_queue, long properties, boolean enable, long[] old_properties) voidSVMFreeFunction.function(cl_command_queue queue, int num_svm_pointers, Pointer[] svm_pointers, Object user_data) The function that will be called