com.jogamp.opencl
Class CLCommandQueue

java.lang.Object
  extended by com.jogamp.opencl.CLCommandQueue
All Implemented Interfaces:
AutoCloseable, CLResource

public class CLCommandQueue
extends Object
implements CLResource

The command queue is used to queue a set of operations for a specific CLDevice. Having multiple command-queues allows applications to queue multiple independent commands without requiring synchronization. Note that this should work as long as these objects are not being shared.

concurrency note:
Sharing of objects across multiple queues or using a CLCommandQueue form multiple Threads will require the application to perform appropriate synchronization.

Author:
Michael Bien
See Also:
CLDevice.createCommandQueue(com.jogamp.opencl.CLCommandQueue.Mode...)

Nested Class Summary
static class CLCommandQueue.Mode
          Enumeration for the command-queue settings.
 
Field Summary
protected  CL cl
           
protected  CLContext context
           
 long ID
          The OpenCL object handle.
 
Method Summary
 void close()
          Deprecated. This method is not intended to be called from client code.
 boolean equals(Object obj)
           
 CLCommandQueue finish()
          Calls clFinish.
 CLCommandQueue flush()
          Calls clFlush.
 CLContext getContext()
          Returns the context for this OpenCL object.
 CLDevice getDevice()
          Returns the device of this command queue.
 long getID()
          Returns the OpenCL object handle
 CLPlatform getPlatform()
          Returns the platform for this OpenCL object.
 EnumSet<CLCommandQueue.Mode> getProperties()
          Returns the command queue properties as EnumSet.
 int hashCode()
           
 boolean isOutOfOrderModeEnabled()
          Returns true only when CLCommandQueue.Mode.OUT_OF_ORDER_MODE mode has been enabled.
 boolean isProfilingEnabled()
          Returns true only when CLCommandQueue.Mode.PROFILING_MODE has been enabled.
 CLCommandQueue put1DRangeKernel(CLKernel kernel, long globalWorkOffset, long globalWorkSize, long localWorkSize)
          Calls clEnqueueNDRangeKernel.
 CLCommandQueue put1DRangeKernel(CLKernel kernel, long globalWorkOffset, long globalWorkSize, long localWorkSize, CLEventList events)
          Calls clEnqueueNDRangeKernel.
 CLCommandQueue put1DRangeKernel(CLKernel kernel, long globalWorkOffset, long globalWorkSize, long localWorkSize, CLEventList condition, CLEventList events)
          Calls clEnqueueNDRangeKernel.
 CLCommandQueue put2DRangeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkOffsetY, long globalWorkSizeX, long globalWorkSizeY, long localWorkSizeX, long localWorkSizeY)
          Calls clEnqueueNDRangeKernel.
 CLCommandQueue put2DRangeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkOffsetY, long globalWorkSizeX, long globalWorkSizeY, long localWorkSizeX, long localWorkSizeY, CLEventList events)
          Calls clEnqueueNDRangeKernel.
 CLCommandQueue put2DRangeKernel(CLKernel kernel, long globalWorkOffsetX, long globalWorkOffsetY, long globalWorkSizeX, long globalWorkSizeY, long localWorkSizeX, long localWorkSizeY, CLEventList condition, CLEventList events)
          Calls clEnqueueNDRangeKernel.
 CLCommandQueue putAcquireGLObject(long glObject)
          Calls clEnqueueAcquireGLObjects.
 CLCommandQueue putAcquireGLObject(long glObject, CLEventList events)
          Calls clEnqueueAcquireGLObjects.
 CLCommandQueue putAcquireGLObject(long glObject, CLEventList condition, CLEventList events)
          Calls clEnqueueAcquireGLObjects.
 CLCommandQueue putBarrier()
          Calls clEnqueueBarrier.
 CLCommandQueue putCopyBuffer(CLBuffer<?> src, CLBuffer<?> dest)
          Calls clEnqueueCopyBuffer.
 CLCommandQueue putCopyBuffer(CLBuffer<?> src, CLBuffer<?> dest, int srcOffset, int destOffset, long bytesToCopy, CLEventList events)
          Calls clEnqueueCopyBuffer.
 CLCommandQueue putCopyBuffer(CLBuffer<?> src, CLBuffer<?> dest, int srcOffset, int destOffset, long bytesToCopy, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyBuffer.
 CLCommandQueue putCopyBuffer(CLBuffer<?> src, CLBuffer<?> dest, long bytesToCopy)
          Calls clEnqueueCopyBuffer.
 CLCommandQueue putCopyBufferRect(CLBuffer<?> src, CLBuffer<?> dest, int srcOriginX, int srcOriginY, int destOriginX, int destOriginY, int rangeX, int rangeY, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyBufferRect.
 CLCommandQueue putCopyBufferRect(CLBuffer<?> src, CLBuffer<?> dest, int srcOriginX, int srcOriginY, int srcOriginZ, int destOriginX, int destOriginY, int destOriginZ, int rangeX, int rangeY, int rangeZ, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyBufferRect.
 CLCommandQueue putCopyBufferRect(CLBuffer<?> src, CLBuffer<?> dest, int srcOriginX, int srcOriginY, int srcOriginZ, int destOriginX, int destOriginY, int destOriginZ, int rangeX, int rangeY, int rangeZ, long srcRowPitch, long srcSlicePitch, long destRowPitch, long destSlicePitch, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyBufferRect.
 CLCommandQueue putCopyBufferRect(CLBuffer<?> src, CLBuffer<?> dest, int srcOriginX, int srcOriginY, int destOriginX, int destOriginY, int rangeX, int rangeY, long srcRowPitch, long srcSlicePitch, long destRowPitch, long destSlicePitch, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyBufferRect.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage2d<?> dstImage)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage2d<?> dstImage, CLEventList events)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage2d<?> dstImage, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage2d<?> dstImage, long srcOffset, int dstOriginX, int dstOriginY, int rangeX, int rangeY)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage2d<?> dstImage, long srcOffset, int dstOriginX, int dstOriginY, int rangeX, int rangeY, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage3d<?> dstImage)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage3d<?> dstImage, CLEventList events)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage3d<?> dstImage, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage3d<?> dstImage, long srcOffset, int dstOriginX, int dstOriginY, int dstOriginZ, int rangeX, int rangeY, int rangeZ)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer, CLImage3d<?> dstImage, long srcOffset, int dstOriginX, int dstOriginY, int dstOriginZ, int rangeX, int rangeY, int rangeZ, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyBufferToImage.
 CLCommandQueue putCopyImage(CLImage2d<?> srcImage, CLImage2d<?> dstImage)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImage(CLImage2d<?> srcImage, CLImage2d<?> dstImage, CLEventList events)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImage(CLImage2d<?> srcImage, CLImage2d<?> dstImage, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImage(CLImage2d<?> srcImage, CLImage2d<?> dstImage, int srcOriginX, int srcOriginY, int dstOriginX, int dstOriginY, int rangeX, int rangeY)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImage(CLImage2d<?> srcImage, CLImage2d<?> dstImage, int srcOriginX, int srcOriginY, int dstOriginX, int dstOriginY, int rangeX, int rangeY, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImage(CLImage3d<?> srcImage, CLImage3d<?> dstImage)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImage(CLImage3d<?> srcImage, CLImage3d<?> dstImage, CLEventList events)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImage(CLImage3d<?> srcImage, CLImage3d<?> dstImage, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImage(CLImage3d<?> srcImage, CLImage3d<?> dstImage, int srcOriginX, int srcOriginY, int srcOriginZ, int dstOriginX, int dstOriginY, int dstOriginZ, int rangeX, int rangeY, int rangeZ)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImage(CLImage3d<?> srcImage, CLImage3d<?> dstImage, int srcOriginX, int srcOriginY, int srcOriginZ, int dstOriginX, int dstOriginY, int dstOriginZ, int rangeX, int rangeY, int rangeZ, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyImage.
 CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage, CLBuffer<?> dstBuffer)
          Calls clEnqueueCopyImageToBuffer.
 CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage, CLBuffer<?> dstBuffer, CLEventList events)
          Calls clEnqueueCopyImageToBuffer.
 CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage, CLBuffer<?> dstBuffer, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyImageToBuffer.
 CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage, CLBuffer<?> dstBuffer, int srcOriginX, int srcOriginY, int rangeX, int rangeY, long dstOffset)
          Calls clEnqueueCopyImageToBuffer.
 CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage, CLBuffer<?> dstBuffer, int srcOriginX, int srcOriginY, int rangeX, int rangeY, long dstOffset, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyImageToBuffer.
 CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage, CLBuffer<?> dstBuffer)
          Calls clEnqueueCopyImageToBuffer.
 CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage, CLBuffer<?> dstBuffer, CLEventList events)
          Calls clEnqueueCopyImageToBuffer.
 CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage, CLBuffer<?> dstBuffer, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyImageToBuffer.
 CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage, CLBuffer<?> dstBuffer, int srcOriginX, int srcOriginY, int srcOriginZ, int rangeX, int rangeY, int rangeZ, long dstOffset)
          Calls clEnqueueCopyImageToBuffer.
 CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage, CLBuffer<?> dstBuffer, int srcOriginX, int srcOriginY, int srcOriginZ, int rangeX, int rangeY, int rangeZ, long dstOffset, CLEventList condition, CLEventList events)
          Calls clEnqueueCopyImageToBuffer.
 ByteBuffer putMapBuffer(CLBuffer<?> buffer, CLMemory.Map flag, boolean blockingMap)
          Calls clEnqueueMapBuffer.
 ByteBuffer putMapBuffer(CLBuffer<?> buffer, CLMemory.Map flag, boolean blockingMap, CLEventList events)
          Calls clEnqueueMapBuffer.
 ByteBuffer putMapBuffer(CLBuffer<?> buffer, CLMemory.Map flag, boolean blockingMap, CLEventList condition, CLEventList events)
          Calls clEnqueueMapBuffer.
 ByteBuffer putMapBuffer(CLBuffer<?> buffer, CLMemory.Map flag, long offset, long length, boolean blockingMap)
          Calls clEnqueueMapBuffer.
 ByteBuffer putMapBuffer(CLBuffer<?> buffer, CLMemory.Map flag, long offset, long length, boolean blockingMap, CLEventList condition, CLEventList events)
          Calls clEnqueueMapBuffer.
 ByteBuffer putMapImage(CLImage2d<?> image, CLMemory.Map flag, boolean blockingMap)
          Calls clEnqueueMapImage.
 ByteBuffer putMapImage(CLImage2d<?> image, CLMemory.Map flag, boolean blockingMap, CLEventList events)
          Calls clEnqueueMapImage.
 ByteBuffer putMapImage(CLImage2d<?> image, CLMemory.Map flag, boolean blockingMap, CLEventList condition, CLEventList events)
          Calls clEnqueueMapImage.
 ByteBuffer putMapImage(CLImage2d<?> buffer, CLMemory.Map flag, int offsetX, int offsetY, int rangeX, int rangeY, boolean blockingMap)
          Calls clEnqueueMapImage.
 ByteBuffer putMapImage(CLImage2d<?> image, CLMemory.Map flag, int offsetX, int offsetY, int rangeX, int rangeY, boolean blockingMap, CLEventList condition, CLEventList events)
          Calls clEnqueueMapImage.
 ByteBuffer putMapImage(CLImage3d<?> image, CLMemory.Map flag, boolean blockingMap)
          Calls clEnqueueMapImage.
 ByteBuffer putMapImage(CLImage3d<?> image, CLMemory.Map flag, boolean blockingMap, CLEventList events)
          Calls clEnqueueMapImage.
 ByteBuffer putMapImage(CLImage3d<?> image, CLMemory.Map flag, boolean blockingMap, CLEventList condition, CLEventList events)
          Calls clEnqueueMapImage.
 ByteBuffer putMapImage(CLImage3d<?> image, CLMemory.Map flag, int offsetX, int offsetY, int offsetZ, int rangeX, int rangeY, int rangeZ, boolean blockingMap)
          Calls clEnqueueMapImage.
 ByteBuffer putMapImage(CLImage3d<?> image, CLMemory.Map flag, int offsetX, int offsetY, int offsetZ, int rangeX, int rangeY, int rangeZ, boolean blockingMap, CLEventList condition, CLEventList events)
          Calls clEnqueueMapImage.
 CLCommandQueue putMarker(CLEventList events)
          Calls clEnqueueMarker.
 CLCommandQueue putNDRangeKernel(CLKernel kernel, int workDimension, PointerBuffer globalWorkOffset, PointerBuffer globalWorkSize, PointerBuffer localWorkSize)
          Calls clEnqueueNDRangeKernel.
 CLCommandQueue putNDRangeKernel(CLKernel kernel, int workDimension, PointerBuffer globalWorkOffset, PointerBuffer globalWorkSize, PointerBuffer localWorkSize, CLEventList events)
          Calls clEnqueueNDRangeKernel.
 CLCommandQueue putNDRangeKernel(CLKernel kernel, int workDimension, PointerBuffer globalWorkOffset, PointerBuffer globalWorkSize, PointerBuffer localWorkSize, CLEventList condition, CLEventList events)
          Calls clEnqueueNDRangeKernel.
 CLCommandQueue putReadBuffer(CLBuffer<?> readBuffer, boolean blockingRead)
          Calls clEnqueueReadBuffer.
 CLCommandQueue putReadBuffer(CLBuffer<?> readBuffer, boolean blockingRead, CLEventList events)
          Calls clEnqueueReadBuffer.
 CLCommandQueue putReadBuffer(CLBuffer<?> readBuffer, boolean blockingRead, CLEventList condition, CLEventList events)
          Calls clEnqueueReadBuffer.
 CLCommandQueue putReadBufferRect(CLBuffer<?> readBuffer, int originX, int originY, int hostX, int hostY, int rangeX, int rangeY, boolean blockingRead, CLEventList condition, CLEventList events)
          Calls clEnqueueReadBufferRect.
 CLCommandQueue putReadBufferRect(CLBuffer<?> readBuffer, int originX, int originY, int originZ, int hostX, int hostY, int hostZ, int rangeX, int rangeY, int rangeZ, boolean blockingRead, CLEventList condition, CLEventList events)
          Calls clEnqueueReadBufferRect.
 CLCommandQueue putReadBufferRect(CLBuffer<?> readBuffer, int originX, int originY, int originZ, int hostX, int hostY, int hostZ, int rangeX, int rangeY, int rangeZ, long rowPitch, long slicePitch, long hostRowPitch, long hostSlicePitch, boolean blockingRead, CLEventList condition, CLEventList events)
          Calls clEnqueueReadBufferRect.
 CLCommandQueue putReadBufferRect(CLBuffer<?> readBuffer, int originX, int originY, int hostX, int hostY, int rangeX, int rangeY, long rowPitch, long slicePitch, long hostRowPitch, long hostSlicePitch, boolean blockingRead, CLEventList condition, CLEventList events)
          Calls clEnqueueReadBufferRect.
 CLCommandQueue putReadImage(CLImage2d<?> readImage, boolean blockingRead)
          Calls clEnqueueReadImage.
 CLCommandQueue putReadImage(CLImage2d<?> readImage, boolean blockingRead, CLEventList events)
          Calls clEnqueueReadImage.
 CLCommandQueue putReadImage(CLImage2d<?> readImage, boolean blockingRead, CLEventList condition, CLEventList events)
          Calls clEnqueueReadImage.
 CLCommandQueue putReadImage(CLImage2d<?> readImage, int inputRowPitch, int originX, int originY, int rangeX, int rangeY, boolean blockingRead)
          Calls clEnqueueReadImage.
 CLCommandQueue putReadImage(CLImage2d<?> readImage, int inputRowPitch, int originX, int originY, int rangeX, int rangeY, boolean blockingRead, CLEventList condition, CLEventList events)
          Calls clEnqueueReadImage.
 CLCommandQueue putReadImage(CLImage3d<?> readImage, boolean blockingRead)
          Calls clEnqueueReadImage.
 CLCommandQueue putReadImage(CLImage3d<?> readImage, boolean blockingRead, CLEventList events)
          Calls clEnqueueReadImage.
 CLCommandQueue putReadImage(CLImage3d<?> readImage, boolean blockingRead, CLEventList condition, CLEventList events)
          Calls clEnqueueReadImage.
 CLCommandQueue putReadImage(CLImage3d<?> readImage, int inputRowPitch, int inputSlicePitch, int originX, int originY, int originZ, int rangeX, int rangeY, int rangeZ, boolean blockingRead)
          Calls clEnqueueReadImage.
 CLCommandQueue putReadImage(CLImage3d<?> readImage, int inputRowPitch, int inputSlicePitch, int originX, int originY, int originZ, int rangeX, int rangeY, int rangeZ, boolean blockingRead, CLEventList condition, CLEventList events)
          Calls clEnqueueReadImage.
 CLCommandQueue putReleaseGLObject(long glObject)
          Calls clEnqueueReleaseGLObjects.
 CLCommandQueue putReleaseGLObject(long glObject, CLEventList events)
          Calls clEnqueueReleaseGLObjects.
 CLCommandQueue putReleaseGLObject(long glObject, CLEventList condition, CLEventList events)
          Calls clEnqueueReleaseGLObjects.
 CLCommandQueue putTask(CLKernel kernel)
          Equivalent to calling put1DRangeKernel(CLKernel kernel, long globalWorkOffset, long globalWorkSize, long localWorkSize) with globalWorkOffset = null, globalWorkSize set to 1, and localWorkSize set to 1.
 CLCommandQueue putTask(CLKernel kernel, CLEventList events)
          Calls clEnqueueTask.
 CLCommandQueue putTask(CLKernel kernel, CLEventList condition, CLEventList events)
          Calls clEnqueueTask.
 CLCommandQueue putUnmapMemory(CLMemory<?> memory)
          Calls clEnqueueUnmapMemObject.
 CLCommandQueue putUnmapMemory(CLMemory<?> memory, CLEventList events)
          Calls clEnqueueUnmapMemObject.
 CLCommandQueue putUnmapMemory(CLMemory<?> memory, CLEventList condition, CLEventList events)
          Calls clEnqueueUnmapMemObject.
 CLCommandQueue putWaitForEvent(CLEventList list, int index, boolean blockingWait)
          Calls clWaitForEvents if blockingWait equals true otherwise clEnqueueWaitForEvents.
 CLCommandQueue putWaitForEvents(CLEventList list, boolean blockingWait)
          Calls clWaitForEvents if blockingWait equals true otherwise clEnqueueWaitForEvents.
 CLCommandQueue putWriteBuffer(CLBuffer<?> writeBuffer, boolean blockingRead)
          Calls clEnqueueWriteBuffer.
 CLCommandQueue putWriteBuffer(CLBuffer<?> writeBuffer, boolean blockingRead, CLEventList events)
          Calls clEnqueueWriteBuffer.
 CLCommandQueue putWriteBuffer(CLBuffer<?> writeBuffer, boolean blockingWrite, CLEventList condition, CLEventList events)
          Calls clEnqueueWriteBuffer.
 CLCommandQueue putWriteBufferRect(CLBuffer<?> writeBuffer, int originX, int originY, int hostX, int hostY, int rangeX, int rangeY, boolean blockingWrite, CLEventList condition, CLEventList events)
          Calls clEnqueueWriteBufferRect.
 CLCommandQueue putWriteBufferRect(CLBuffer<?> writeBuffer, int originX, int originY, int originZ, int hostX, int hostY, int hostZ, int rangeX, int rangeY, int rangeZ, boolean blockingWrite, CLEventList condition, CLEventList events)
          Calls clEnqueueWriteBufferRect.
 CLCommandQueue putWriteBufferRect(CLBuffer<?> writeBuffer, int originX, int originY, int originZ, int hostX, int hostY, int hostZ, int rangeX, int rangeY, int rangeZ, long rowPitch, long slicePitch, long hostRowPitch, long hostSlicePitch, boolean blockingWrite, CLEventList condition, CLEventList events)
          Calls clEnqueueWriteBufferRect.
 CLCommandQueue putWriteBufferRect(CLBuffer<?> writeBuffer, int originX, int originY, int hostX, int hostY, int rangeX, int rangeY, long rowPitch, long slicePitch, long hostRowPitch, long hostSlicePitch, boolean blockingWrite, CLEventList condition, CLEventList events)
          Calls clEnqueueWriteBufferRect.
 CLCommandQueue putWriteImage(CLImage2d<?> writeImage, boolean blockingWrite)
          Calls clEnqueueWriteImage.
 CLCommandQueue putWriteImage(CLImage2d<?> writeImage, boolean blockingWrite, CLEventList events)
          Calls clEnqueueWriteImage.
 CLCommandQueue putWriteImage(CLImage2d<?> writeImage, boolean blockingWrite, CLEventList condition, CLEventList events)
          Calls clEnqueueWriteImage.
 CLCommandQueue putWriteImage(CLImage2d<?> writeImage, int inputRowPitch, int originX, int originY, int rangeX, int rangeY, boolean blockingWrite)
          Calls clEnqueueWriteImage.
 CLCommandQueue putWriteImage(CLImage2d<?> writeImage, int inputRowPitch, int originX, int originY, int rangeX, int rangeY, boolean blockingWrite, CLEventList condition, CLEventList events)
          Calls clEnqueueWriteImage.
 CLCommandQueue putWriteImage(CLImage3d<?> writeImage, boolean blockingWrite)
          Calls clEnqueueWriteImage.
 CLCommandQueue putWriteImage(CLImage3d<?> writeImage, boolean blockingWrite, CLEventList events)
          Calls clEnqueueWriteImage.
 CLCommandQueue putWriteImage(CLImage3d<?> writeImage, boolean blockingWrite, CLEventList condition, CLEventList events)
          Calls clEnqueueWriteImage.
 CLCommandQueue putWriteImage(CLImage3d<?> writeImage, int inputRowPitch, int inputSlicePitch, int originX, int originY, int originZ, int rangeX, int rangeY, int rangeZ, boolean blockingWrite)
          Calls clEnqueueWriteImage.
 CLCommandQueue putWriteImage(CLImage3d<?> writeImage, int inputRowPitch, int inputSlicePitch, int originX, int originY, int originZ, int rangeX, int rangeY, int rangeZ, boolean blockingWrite, CLEventList condition, CLEventList events)
          Calls clEnqueueWriteImage.
 void release()
          Releases the OpenCL resource.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public final long ID
The OpenCL object handle.


context

protected CLContext context

cl

protected final CL cl
Method Detail

putWriteBuffer

public CLCommandQueue putWriteBuffer(CLBuffer<?> writeBuffer,
                                     boolean blockingRead)
Calls clEnqueueWriteBuffer.


putWriteBuffer

public CLCommandQueue putWriteBuffer(CLBuffer<?> writeBuffer,
                                     boolean blockingRead,
                                     CLEventList events)
Calls clEnqueueWriteBuffer.


putWriteBuffer

public CLCommandQueue putWriteBuffer(CLBuffer<?> writeBuffer,
                                     boolean blockingWrite,
                                     CLEventList condition,
                                     CLEventList events)
Calls clEnqueueWriteBuffer.


putReadBuffer

public CLCommandQueue putReadBuffer(CLBuffer<?> readBuffer,
                                    boolean blockingRead)
Calls clEnqueueReadBuffer.


putReadBuffer

public CLCommandQueue putReadBuffer(CLBuffer<?> readBuffer,
                                    boolean blockingRead,
                                    CLEventList events)
Calls clEnqueueReadBuffer.


putReadBuffer

public CLCommandQueue putReadBuffer(CLBuffer<?> readBuffer,
                                    boolean blockingRead,
                                    CLEventList condition,
                                    CLEventList events)
Calls clEnqueueReadBuffer.


putCopyBuffer

public CLCommandQueue putCopyBuffer(CLBuffer<?> src,
                                    CLBuffer<?> dest)
Calls clEnqueueCopyBuffer.


putCopyBuffer

public CLCommandQueue putCopyBuffer(CLBuffer<?> src,
                                    CLBuffer<?> dest,
                                    long bytesToCopy)
Calls clEnqueueCopyBuffer.


putCopyBuffer

public CLCommandQueue putCopyBuffer(CLBuffer<?> src,
                                    CLBuffer<?> dest,
                                    int srcOffset,
                                    int destOffset,
                                    long bytesToCopy,
                                    CLEventList events)
Calls clEnqueueCopyBuffer.


putCopyBuffer

public CLCommandQueue putCopyBuffer(CLBuffer<?> src,
                                    CLBuffer<?> dest,
                                    int srcOffset,
                                    int destOffset,
                                    long bytesToCopy,
                                    CLEventList condition,
                                    CLEventList events)
Calls clEnqueueCopyBuffer.


putWriteBufferRect

public CLCommandQueue putWriteBufferRect(CLBuffer<?> writeBuffer,
                                         int originX,
                                         int originY,
                                         int hostX,
                                         int hostY,
                                         int rangeX,
                                         int rangeY,
                                         boolean blockingWrite,
                                         CLEventList condition,
                                         CLEventList events)
Calls clEnqueueWriteBufferRect.


putWriteBufferRect

public CLCommandQueue putWriteBufferRect(CLBuffer<?> writeBuffer,
                                         int originX,
                                         int originY,
                                         int hostX,
                                         int hostY,
                                         int rangeX,
                                         int rangeY,
                                         long rowPitch,
                                         long slicePitch,
                                         long hostRowPitch,
                                         long hostSlicePitch,
                                         boolean blockingWrite,
                                         CLEventList condition,
                                         CLEventList events)
Calls clEnqueueWriteBufferRect.


putWriteBufferRect

public CLCommandQueue putWriteBufferRect(CLBuffer<?> writeBuffer,
                                         int originX,
                                         int originY,
                                         int originZ,
                                         int hostX,
                                         int hostY,
                                         int hostZ,
                                         int rangeX,
                                         int rangeY,
                                         int rangeZ,
                                         boolean blockingWrite,
                                         CLEventList condition,
                                         CLEventList events)
Calls clEnqueueWriteBufferRect.


putWriteBufferRect

public CLCommandQueue putWriteBufferRect(CLBuffer<?> writeBuffer,
                                         int originX,
                                         int originY,
                                         int originZ,
                                         int hostX,
                                         int hostY,
                                         int hostZ,
                                         int rangeX,
                                         int rangeY,
                                         int rangeZ,
                                         long rowPitch,
                                         long slicePitch,
                                         long hostRowPitch,
                                         long hostSlicePitch,
                                         boolean blockingWrite,
                                         CLEventList condition,
                                         CLEventList events)
Calls clEnqueueWriteBufferRect.


putReadBufferRect

public CLCommandQueue putReadBufferRect(CLBuffer<?> readBuffer,
                                        int originX,
                                        int originY,
                                        int hostX,
                                        int hostY,
                                        int rangeX,
                                        int rangeY,
                                        boolean blockingRead,
                                        CLEventList condition,
                                        CLEventList events)
Calls clEnqueueReadBufferRect.


putReadBufferRect

public CLCommandQueue putReadBufferRect(CLBuffer<?> readBuffer,
                                        int originX,
                                        int originY,
                                        int hostX,
                                        int hostY,
                                        int rangeX,
                                        int rangeY,
                                        long rowPitch,
                                        long slicePitch,
                                        long hostRowPitch,
                                        long hostSlicePitch,
                                        boolean blockingRead,
                                        CLEventList condition,
                                        CLEventList events)
Calls clEnqueueReadBufferRect.


putReadBufferRect

public CLCommandQueue putReadBufferRect(CLBuffer<?> readBuffer,
                                        int originX,
                                        int originY,
                                        int originZ,
                                        int hostX,
                                        int hostY,
                                        int hostZ,
                                        int rangeX,
                                        int rangeY,
                                        int rangeZ,
                                        boolean blockingRead,
                                        CLEventList condition,
                                        CLEventList events)
Calls clEnqueueReadBufferRect.


putReadBufferRect

public CLCommandQueue putReadBufferRect(CLBuffer<?> readBuffer,
                                        int originX,
                                        int originY,
                                        int originZ,
                                        int hostX,
                                        int hostY,
                                        int hostZ,
                                        int rangeX,
                                        int rangeY,
                                        int rangeZ,
                                        long rowPitch,
                                        long slicePitch,
                                        long hostRowPitch,
                                        long hostSlicePitch,
                                        boolean blockingRead,
                                        CLEventList condition,
                                        CLEventList events)
Calls clEnqueueReadBufferRect.


putCopyBufferRect

public CLCommandQueue putCopyBufferRect(CLBuffer<?> src,
                                        CLBuffer<?> dest,
                                        int srcOriginX,
                                        int srcOriginY,
                                        int destOriginX,
                                        int destOriginY,
                                        int rangeX,
                                        int rangeY,
                                        CLEventList condition,
                                        CLEventList events)
Calls clEnqueueCopyBufferRect.


putCopyBufferRect

public CLCommandQueue putCopyBufferRect(CLBuffer<?> src,
                                        CLBuffer<?> dest,
                                        int srcOriginX,
                                        int srcOriginY,
                                        int destOriginX,
                                        int destOriginY,
                                        int rangeX,
                                        int rangeY,
                                        long srcRowPitch,
                                        long srcSlicePitch,
                                        long destRowPitch,
                                        long destSlicePitch,
                                        CLEventList condition,
                                        CLEventList events)
Calls clEnqueueCopyBufferRect.


putCopyBufferRect

public CLCommandQueue putCopyBufferRect(CLBuffer<?> src,
                                        CLBuffer<?> dest,
                                        int srcOriginX,
                                        int srcOriginY,
                                        int srcOriginZ,
                                        int destOriginX,
                                        int destOriginY,
                                        int destOriginZ,
                                        int rangeX,
                                        int rangeY,
                                        int rangeZ,
                                        CLEventList condition,
                                        CLEventList events)
Calls clEnqueueCopyBufferRect.


putCopyBufferRect

public CLCommandQueue putCopyBufferRect(CLBuffer<?> src,
                                        CLBuffer<?> dest,
                                        int srcOriginX,
                                        int srcOriginY,
                                        int srcOriginZ,
                                        int destOriginX,
                                        int destOriginY,
                                        int destOriginZ,
                                        int rangeX,
                                        int rangeY,
                                        int rangeZ,
                                        long srcRowPitch,
                                        long srcSlicePitch,
                                        long destRowPitch,
                                        long destSlicePitch,
                                        CLEventList condition,
                                        CLEventList events)
Calls clEnqueueCopyBufferRect.


putWriteImage

public CLCommandQueue putWriteImage(CLImage2d<?> writeImage,
                                    boolean blockingWrite)
Calls clEnqueueWriteImage.


putWriteImage

public CLCommandQueue putWriteImage(CLImage2d<?> writeImage,
                                    boolean blockingWrite,
                                    CLEventList events)
Calls clEnqueueWriteImage.


putWriteImage

public CLCommandQueue putWriteImage(CLImage2d<?> writeImage,
                                    boolean blockingWrite,
                                    CLEventList condition,
                                    CLEventList events)
Calls clEnqueueWriteImage.


putWriteImage

public CLCommandQueue putWriteImage(CLImage2d<?> writeImage,
                                    int inputRowPitch,
                                    int originX,
                                    int originY,
                                    int rangeX,
                                    int rangeY,
                                    boolean blockingWrite)
Calls clEnqueueWriteImage.


putWriteImage

public CLCommandQueue putWriteImage(CLImage2d<?> writeImage,
                                    int inputRowPitch,
                                    int originX,
                                    int originY,
                                    int rangeX,
                                    int rangeY,
                                    boolean blockingWrite,
                                    CLEventList condition,
                                    CLEventList events)
Calls clEnqueueWriteImage.


putWriteImage

public CLCommandQueue putWriteImage(CLImage3d<?> writeImage,
                                    boolean blockingWrite)
Calls clEnqueueWriteImage.


putWriteImage

public CLCommandQueue putWriteImage(CLImage3d<?> writeImage,
                                    boolean blockingWrite,
                                    CLEventList events)
Calls clEnqueueWriteImage.


putWriteImage

public CLCommandQueue putWriteImage(CLImage3d<?> writeImage,
                                    boolean blockingWrite,
                                    CLEventList condition,
                                    CLEventList events)
Calls clEnqueueWriteImage.


putWriteImage

public CLCommandQueue putWriteImage(CLImage3d<?> writeImage,
                                    int inputRowPitch,
                                    int inputSlicePitch,
                                    int originX,
                                    int originY,
                                    int originZ,
                                    int rangeX,
                                    int rangeY,
                                    int rangeZ,
                                    boolean blockingWrite)
Calls clEnqueueWriteImage.


putWriteImage

public CLCommandQueue putWriteImage(CLImage3d<?> writeImage,
                                    int inputRowPitch,
                                    int inputSlicePitch,
                                    int originX,
                                    int originY,
                                    int originZ,
                                    int rangeX,
                                    int rangeY,
                                    int rangeZ,
                                    boolean blockingWrite,
                                    CLEventList condition,
                                    CLEventList events)
Calls clEnqueueWriteImage.


putReadImage

public CLCommandQueue putReadImage(CLImage2d<?> readImage,
                                   boolean blockingRead)
Calls clEnqueueReadImage.


putReadImage

public CLCommandQueue putReadImage(CLImage2d<?> readImage,
                                   boolean blockingRead,
                                   CLEventList events)
Calls clEnqueueReadImage.


putReadImage

public CLCommandQueue putReadImage(CLImage2d<?> readImage,
                                   boolean blockingRead,
                                   CLEventList condition,
                                   CLEventList events)
Calls clEnqueueReadImage.


putReadImage

public CLCommandQueue putReadImage(CLImage2d<?> readImage,
                                   int inputRowPitch,
                                   int originX,
                                   int originY,
                                   int rangeX,
                                   int rangeY,
                                   boolean blockingRead)
Calls clEnqueueReadImage.


putReadImage

public CLCommandQueue putReadImage(CLImage2d<?> readImage,
                                   int inputRowPitch,
                                   int originX,
                                   int originY,
                                   int rangeX,
                                   int rangeY,
                                   boolean blockingRead,
                                   CLEventList condition,
                                   CLEventList events)
Calls clEnqueueReadImage.


putReadImage

public CLCommandQueue putReadImage(CLImage3d<?> readImage,
                                   boolean blockingRead)
Calls clEnqueueReadImage.


putReadImage

public CLCommandQueue putReadImage(CLImage3d<?> readImage,
                                   boolean blockingRead,
                                   CLEventList events)
Calls clEnqueueReadImage.


putReadImage

public CLCommandQueue putReadImage(CLImage3d<?> readImage,
                                   boolean blockingRead,
                                   CLEventList condition,
                                   CLEventList events)
Calls clEnqueueReadImage.


putReadImage

public CLCommandQueue putReadImage(CLImage3d<?> readImage,
                                   int inputRowPitch,
                                   int inputSlicePitch,
                                   int originX,
                                   int originY,
                                   int originZ,
                                   int rangeX,
                                   int rangeY,
                                   int rangeZ,
                                   boolean blockingRead)
Calls clEnqueueReadImage.


putReadImage

public CLCommandQueue putReadImage(CLImage3d<?> readImage,
                                   int inputRowPitch,
                                   int inputSlicePitch,
                                   int originX,
                                   int originY,
                                   int originZ,
                                   int rangeX,
                                   int rangeY,
                                   int rangeZ,
                                   boolean blockingRead,
                                   CLEventList condition,
                                   CLEventList events)
Calls clEnqueueReadImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage2d<?> srcImage,
                                   CLImage2d<?> dstImage)
Calls clEnqueueCopyImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage2d<?> srcImage,
                                   CLImage2d<?> dstImage,
                                   CLEventList events)
Calls clEnqueueCopyImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage2d<?> srcImage,
                                   CLImage2d<?> dstImage,
                                   CLEventList condition,
                                   CLEventList events)
Calls clEnqueueCopyImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage2d<?> srcImage,
                                   CLImage2d<?> dstImage,
                                   int srcOriginX,
                                   int srcOriginY,
                                   int dstOriginX,
                                   int dstOriginY,
                                   int rangeX,
                                   int rangeY)
Calls clEnqueueCopyImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage2d<?> srcImage,
                                   CLImage2d<?> dstImage,
                                   int srcOriginX,
                                   int srcOriginY,
                                   int dstOriginX,
                                   int dstOriginY,
                                   int rangeX,
                                   int rangeY,
                                   CLEventList condition,
                                   CLEventList events)
Calls clEnqueueCopyImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage3d<?> srcImage,
                                   CLImage3d<?> dstImage)
Calls clEnqueueCopyImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage3d<?> srcImage,
                                   CLImage3d<?> dstImage,
                                   CLEventList events)
Calls clEnqueueCopyImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage3d<?> srcImage,
                                   CLImage3d<?> dstImage,
                                   CLEventList condition,
                                   CLEventList events)
Calls clEnqueueCopyImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage3d<?> srcImage,
                                   CLImage3d<?> dstImage,
                                   int srcOriginX,
                                   int srcOriginY,
                                   int srcOriginZ,
                                   int dstOriginX,
                                   int dstOriginY,
                                   int dstOriginZ,
                                   int rangeX,
                                   int rangeY,
                                   int rangeZ)
Calls clEnqueueCopyImage.


putCopyImage

public CLCommandQueue putCopyImage(CLImage3d<?> srcImage,
                                   CLImage3d<?> dstImage,
                                   int srcOriginX,
                                   int srcOriginY,
                                   int srcOriginZ,
                                   int dstOriginX,
                                   int dstOriginY,
                                   int dstOriginZ,
                                   int rangeX,
                                   int rangeY,
                                   int rangeZ,
                                   CLEventList condition,
                                   CLEventList events)
Calls clEnqueueCopyImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage2d<?> dstImage)
Calls clEnqueueCopyBufferToImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage2d<?> dstImage,
                                           CLEventList events)
Calls clEnqueueCopyBufferToImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage2d<?> dstImage,
                                           CLEventList condition,
                                           CLEventList events)
Calls clEnqueueCopyBufferToImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage2d<?> dstImage,
                                           long srcOffset,
                                           int dstOriginX,
                                           int dstOriginY,
                                           int rangeX,
                                           int rangeY)
Calls clEnqueueCopyBufferToImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage2d<?> dstImage,
                                           long srcOffset,
                                           int dstOriginX,
                                           int dstOriginY,
                                           int rangeX,
                                           int rangeY,
                                           CLEventList condition,
                                           CLEventList events)
Calls clEnqueueCopyBufferToImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage3d<?> dstImage)
Calls clEnqueueCopyBufferToImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage3d<?> dstImage,
                                           CLEventList events)
Calls clEnqueueCopyBufferToImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage3d<?> dstImage,
                                           CLEventList condition,
                                           CLEventList events)
Calls clEnqueueCopyBufferToImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage3d<?> dstImage,
                                           long srcOffset,
                                           int dstOriginX,
                                           int dstOriginY,
                                           int dstOriginZ,
                                           int rangeX,
                                           int rangeY,
                                           int rangeZ)
Calls clEnqueueCopyBufferToImage.


putCopyBufferToImage

public CLCommandQueue putCopyBufferToImage(CLBuffer<?> srcBuffer,
                                           CLImage3d<?> dstImage,
                                           long srcOffset,
                                           int dstOriginX,
                                           int dstOriginY,
                                           int dstOriginZ,
                                           int rangeX,
                                           int rangeY,
                                           int rangeZ,
                                           CLEventList condition,
                                           CLEventList events)
Calls clEnqueueCopyBufferToImage.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage,
                                           CLBuffer<?> dstBuffer)
Calls clEnqueueCopyImageToBuffer.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage,
                                           CLBuffer<?> dstBuffer,
                                           CLEventList events)
Calls clEnqueueCopyImageToBuffer.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage,
                                           CLBuffer<?> dstBuffer,
                                           CLEventList condition,
                                           CLEventList events)
Calls clEnqueueCopyImageToBuffer.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage,
                                           CLBuffer<?> dstBuffer,
                                           int srcOriginX,
                                           int srcOriginY,
                                           int rangeX,
                                           int rangeY,
                                           long dstOffset)
Calls clEnqueueCopyImageToBuffer.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage2d<?> srcImage,
                                           CLBuffer<?> dstBuffer,
                                           int srcOriginX,
                                           int srcOriginY,
                                           int rangeX,
                                           int rangeY,
                                           long dstOffset,
                                           CLEventList condition,
                                           CLEventList events)
Calls clEnqueueCopyImageToBuffer.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage,
                                           CLBuffer<?> dstBuffer)
Calls clEnqueueCopyImageToBuffer.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage,
                                           CLBuffer<?> dstBuffer,
                                           CLEventList events)
Calls clEnqueueCopyImageToBuffer.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage,
                                           CLBuffer<?> dstBuffer,
                                           CLEventList condition,
                                           CLEventList events)
Calls clEnqueueCopyImageToBuffer.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage,
                                           CLBuffer<?> dstBuffer,
                                           int srcOriginX,
                                           int srcOriginY,
                                           int srcOriginZ,
                                           int rangeX,
                                           int rangeY,
                                           int rangeZ,
                                           long dstOffset)
Calls clEnqueueCopyImageToBuffer.


putCopyImageToBuffer

public CLCommandQueue putCopyImageToBuffer(CLImage3d<?> srcImage,
                                           CLBuffer<?> dstBuffer,
                                           int srcOriginX,
                                           int srcOriginY,
                                           int srcOriginZ,
                                           int rangeX,
                                           int rangeY,
                                           int rangeZ,
                                           long dstOffset,
                                           CLEventList condition,
                                           CLEventList events)
Calls clEnqueueCopyImageToBuffer.


putMapBuffer

public ByteBuffer putMapBuffer(CLBuffer<?> buffer,
                               CLMemory.Map flag,
                               boolean blockingMap)
Calls clEnqueueMapBuffer.


putMapBuffer

public ByteBuffer putMapBuffer(CLBuffer<?> buffer,
                               CLMemory.Map flag,
                               boolean blockingMap,
                               CLEventList events)
Calls clEnqueueMapBuffer.


putMapBuffer

public ByteBuffer putMapBuffer(CLBuffer<?> buffer,
                               CLMemory.Map flag,
                               boolean blockingMap,
                               CLEventList condition,
                               CLEventList events)
Calls clEnqueueMapBuffer.


putMapBuffer

public ByteBuffer putMapBuffer(CLBuffer<?> buffer,
                               CLMemory.Map flag,
                               long offset,
                               long length,
                               boolean blockingMap)
Calls clEnqueueMapBuffer.


putMapBuffer

public ByteBuffer putMapBuffer(CLBuffer<?> buffer,
                               CLMemory.Map flag,
                               long offset,
                               long length,
                               boolean blockingMap,
                               CLEventList condition,
                               CLEventList events)
Calls clEnqueueMapBuffer.


putMapImage

public ByteBuffer putMapImage(CLImage2d<?> image,
                              CLMemory.Map flag,
                              boolean blockingMap)
Calls clEnqueueMapImage.


putMapImage

public ByteBuffer putMapImage(CLImage2d<?> image,
                              CLMemory.Map flag,
                              boolean blockingMap,
                              CLEventList events)
Calls clEnqueueMapImage.


putMapImage

public ByteBuffer putMapImage(CLImage2d<?> image,
                              CLMemory.Map flag,
                              boolean blockingMap,
                              CLEventList condition,
                              CLEventList events)
Calls clEnqueueMapImage.


putMapImage

public ByteBuffer putMapImage(CLImage2d<?> buffer,
                              CLMemory.Map flag,
                              int offsetX,
                              int offsetY,
                              int rangeX,
                              int rangeY,
                              boolean blockingMap)
Calls clEnqueueMapImage.


putMapImage

public ByteBuffer putMapImage(CLImage2d<?> image,
                              CLMemory.Map flag,
                              int offsetX,
                              int offsetY,
                              int rangeX,
                              int rangeY,
                              boolean blockingMap,
                              CLEventList condition,
                              CLEventList events)
Calls clEnqueueMapImage.


putMapImage

public ByteBuffer putMapImage(CLImage3d<?> image,
                              CLMemory.Map flag,
                              boolean blockingMap)
Calls clEnqueueMapImage.


putMapImage

public ByteBuffer putMapImage(CLImage3d<?> image,
                              CLMemory.Map flag,
                              boolean blockingMap,
                              CLEventList events)
Calls clEnqueueMapImage.


putMapImage

public ByteBuffer putMapImage(CLImage3d<?> image,
                              CLMemory.Map flag,
                              boolean blockingMap,
                              CLEventList condition,
                              CLEventList events)
Calls clEnqueueMapImage.


putMapImage

public ByteBuffer putMapImage(CLImage3d<?> image,
                              CLMemory.Map flag,
                              int offsetX,
                              int offsetY,
                              int offsetZ,
                              int rangeX,
                              int rangeY,
                              int rangeZ,
                              boolean blockingMap)
Calls clEnqueueMapImage.


putMapImage

public ByteBuffer putMapImage(CLImage3d<?> image,
                              CLMemory.Map flag,
                              int offsetX,
                              int offsetY,
                              int offsetZ,
                              int rangeX,
                              int rangeY,
                              int rangeZ,
                              boolean blockingMap,
                              CLEventList condition,
                              CLEventList events)
Calls clEnqueueMapImage.


putUnmapMemory

public CLCommandQueue putUnmapMemory(CLMemory<?> memory)
Calls clEnqueueUnmapMemObject.


putUnmapMemory

public CLCommandQueue putUnmapMemory(CLMemory<?> memory,
                                     CLEventList events)
Calls clEnqueueUnmapMemObject.


putUnmapMemory

public CLCommandQueue putUnmapMemory(CLMemory<?> memory,
                                     CLEventList condition,
                                     CLEventList events)
Calls clEnqueueUnmapMemObject.


putMarker

public CLCommandQueue putMarker(CLEventList events)
Calls clEnqueueMarker.


putWaitForEvent

public CLCommandQueue putWaitForEvent(CLEventList list,
                                      int index,
                                      boolean blockingWait)
Calls clWaitForEvents if blockingWait equals true otherwise clEnqueueWaitForEvents.


putWaitForEvents

public CLCommandQueue putWaitForEvents(CLEventList list,
                                       boolean blockingWait)
Calls clWaitForEvents if blockingWait equals true otherwise clEnqueueWaitForEvents.


putBarrier

public CLCommandQueue putBarrier()
Calls clEnqueueBarrier.


putTask

public CLCommandQueue putTask(CLKernel kernel)
Equivalent to calling put1DRangeKernel(CLKernel kernel, long globalWorkOffset, long globalWorkSize, long localWorkSize) with globalWorkOffset = null, globalWorkSize set to 1, and localWorkSize set to 1.

Calls clEnqueueTask.


putTask

public CLCommandQueue putTask(CLKernel kernel,
                              CLEventList events)

Calls clEnqueueTask.

See Also:
putTask(com.jogamp.opencl.CLKernel)

putTask

public CLCommandQueue putTask(CLKernel kernel,
                              CLEventList condition,
                              CLEventList events)
Calls clEnqueueTask.

See Also:
putTask(com.jogamp.opencl.CLKernel)

put1DRangeKernel

public CLCommandQueue put1DRangeKernel(CLKernel kernel,
                                       long globalWorkOffset,
                                       long globalWorkSize,
                                       long localWorkSize)
Calls clEnqueueNDRangeKernel.


put1DRangeKernel

public CLCommandQueue put1DRangeKernel(CLKernel kernel,
                                       long globalWorkOffset,
                                       long globalWorkSize,
                                       long localWorkSize,
                                       CLEventList events)
Calls clEnqueueNDRangeKernel.


put1DRangeKernel

public CLCommandQueue put1DRangeKernel(CLKernel kernel,
                                       long globalWorkOffset,
                                       long globalWorkSize,
                                       long localWorkSize,
                                       CLEventList condition,
                                       CLEventList events)
Calls clEnqueueNDRangeKernel.


put2DRangeKernel

public CLCommandQueue put2DRangeKernel(CLKernel kernel,
                                       long globalWorkOffsetX,
                                       long globalWorkOffsetY,
                                       long globalWorkSizeX,
                                       long globalWorkSizeY,
                                       long localWorkSizeX,
                                       long localWorkSizeY)
Calls clEnqueueNDRangeKernel.


put2DRangeKernel

public CLCommandQueue put2DRangeKernel(CLKernel kernel,
                                       long globalWorkOffsetX,
                                       long globalWorkOffsetY,
                                       long globalWorkSizeX,
                                       long globalWorkSizeY,
                                       long localWorkSizeX,
                                       long localWorkSizeY,
                                       CLEventList events)
Calls clEnqueueNDRangeKernel.


put2DRangeKernel

public CLCommandQueue put2DRangeKernel(CLKernel kernel,
                                       long globalWorkOffsetX,
                                       long globalWorkOffsetY,
                                       long globalWorkSizeX,
                                       long globalWorkSizeY,
                                       long localWorkSizeX,
                                       long localWorkSizeY,
                                       CLEventList condition,
                                       CLEventList events)
Calls clEnqueueNDRangeKernel.


putNDRangeKernel

public CLCommandQueue putNDRangeKernel(CLKernel kernel,
                                       int workDimension,
                                       PointerBuffer globalWorkOffset,
                                       PointerBuffer globalWorkSize,
                                       PointerBuffer localWorkSize)
Calls clEnqueueNDRangeKernel.


putNDRangeKernel

public CLCommandQueue putNDRangeKernel(CLKernel kernel,
                                       int workDimension,
                                       PointerBuffer globalWorkOffset,
                                       PointerBuffer globalWorkSize,
                                       PointerBuffer localWorkSize,
                                       CLEventList events)
Calls clEnqueueNDRangeKernel.


putNDRangeKernel

public CLCommandQueue putNDRangeKernel(CLKernel kernel,
                                       int workDimension,
                                       PointerBuffer globalWorkOffset,
                                       PointerBuffer globalWorkSize,
                                       PointerBuffer localWorkSize,
                                       CLEventList condition,
                                       CLEventList events)
Calls clEnqueueNDRangeKernel.


putAcquireGLObject

public CLCommandQueue putAcquireGLObject(long glObject)
Calls clEnqueueAcquireGLObjects.


putAcquireGLObject

public CLCommandQueue putAcquireGLObject(long glObject,
                                         CLEventList events)
Calls clEnqueueAcquireGLObjects.


putAcquireGLObject

public CLCommandQueue putAcquireGLObject(long glObject,
                                         CLEventList condition,
                                         CLEventList events)
Calls clEnqueueAcquireGLObjects.


putReleaseGLObject

public CLCommandQueue putReleaseGLObject(long glObject)
Calls clEnqueueReleaseGLObjects.


putReleaseGLObject

public CLCommandQueue putReleaseGLObject(long glObject,
                                         CLEventList events)
Calls clEnqueueReleaseGLObjects.


putReleaseGLObject

public CLCommandQueue putReleaseGLObject(long glObject,
                                         CLEventList condition,
                                         CLEventList events)
Calls clEnqueueReleaseGLObjects.


finish

public CLCommandQueue finish()
Calls clFinish.


flush

public CLCommandQueue flush()
Calls clFlush.


isProfilingEnabled

public boolean isProfilingEnabled()
Returns true only when CLCommandQueue.Mode.PROFILING_MODE has been enabled.


isOutOfOrderModeEnabled

public boolean isOutOfOrderModeEnabled()
Returns true only when CLCommandQueue.Mode.OUT_OF_ORDER_MODE mode has been enabled.


release

public void release()
Description copied from interface: CLResource
Releases the OpenCL resource.

Specified by:
release in interface CLResource

getDevice

public CLDevice getDevice()
Returns the device of this command queue.


getProperties

public EnumSet<CLCommandQueue.Mode> getProperties()
Returns the command queue properties as EnumSet.


toString

public String toString()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

close

@Deprecated
public final void close()
Deprecated. This method is not intended to be called from client code.

Implementation detail. TODO remove as soon we have extension methods.

Specified by:
close in interface AutoCloseable
See Also:
AutoCloseable

getContext

public CLContext getContext()
Returns the context for this OpenCL object.


getPlatform

public CLPlatform getPlatform()
Returns the platform for this OpenCL object.


getID

public long getID()
Returns the OpenCL object handle