|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jocl.utils.CommandQueues
public class CommandQueues
Utility methods related to cl_command_queue objects
Method Summary | |
---|---|
static org.jocl.cl_command_queue |
create(org.jocl.cl_context context,
org.jocl.cl_device_id device)
Create and return a command queue for the given device. |
static org.jocl.cl_command_queue |
create(org.jocl.cl_context context,
org.jocl.cl_device_id device,
boolean profilingEnabled)
Create and return a command queue for the given device. |
static java.util.List<org.jocl.cl_command_queue> |
create(org.jocl.cl_context context,
java.util.List<org.jocl.cl_device_id> devices)
Create and return an unmodifiable list of command queues, one for each of the given devices. |
static java.util.List<org.jocl.cl_command_queue> |
create(org.jocl.cl_context context,
java.util.List<org.jocl.cl_device_id> devices,
boolean profilingEnabled)
Create and return an unmodifiable list of command queues, one for each of the given devices. |
static void |
enqueueKernel1D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX)
Enqueue the given kernel as a 1D kernel to the given command queue, using the given global work size. |
static void |
enqueueKernel1D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue the given kernel as a 1D kernel to the given command queue, using the given global work size. |
static void |
enqueueKernel1D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long localSizeX)
Enqueue the given kernel as a 1D kernel to the given command queue, using the given global and local work size. |
static void |
enqueueKernel1D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long localSizeX,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue the given kernel as a 1D kernel to the given command queue, using the given global and local work size. |
static void |
enqueueKernel2D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long globalSizeY)
Enqueue the given kernel as a 2D kernel to the given command queue, using the given global work sizes. |
static void |
enqueueKernel2D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long globalSizeY,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue the given kernel as a 2D kernel to the given command queue, using the given global work sizes. |
static void |
enqueueKernel2D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long globalSizeY,
long localSizeX,
long localSizeY)
Enqueue the given kernel as a 2D kernel to the given command queue, using the given global and local work sizes. |
static void |
enqueueKernel2D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long globalSizeY,
long localSizeX,
long localSizeY,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue the given kernel as a 2D kernel to the given command queue, using the given global and local work sizes. |
static void |
enqueueKernel3D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long globalSizeY,
long globalSizeZ)
Enqueue the given kernel as a 3D kernel to the given command queue, using the given global work sizes. |
static void |
enqueueKernel3D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long globalSizeY,
long globalSizeZ,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue the given kernel as a 3D kernel to the given command queue, using the given global work sizes. |
static void |
enqueueKernel3D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long globalSizeY,
long globalSizeZ,
long localSizeX,
long localSizeY,
long localSizeZ)
Enqueue the given kernel as a 3D kernel to the given command queue, using the given global and local work sizes. |
static void |
enqueueKernel3D(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
long globalSizeX,
long globalSizeY,
long globalSizeZ,
long localSizeX,
long localSizeY,
long localSizeZ,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue the given kernel as a 3D kernel to the given command queue, using the given global and local work sizes. |
static void |
enqueueKernelND(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
int n,
long[] globalSize,
long[] localSize)
Enqueue the given kernel as a n-D kernel to the given command queue, using the given global and local work sizes. |
static void |
enqueueKernelND(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_kernel kernel,
int n,
long[] globalSize,
long[] localSize,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue the given kernel as a n-D kernel to the given command queue, using the given global and local work sizes. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.ByteBuffer target)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.DoubleBuffer target)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.FloatBuffer target)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.IntBuffer target)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.LongBuffer target)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long sourceOffset,
java.nio.ByteBuffer target,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long sourceOffset,
java.nio.DoubleBuffer target,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long sourceOffset,
java.nio.FloatBuffer target,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long sourceOffset,
java.nio.IntBuffer target,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long sourceOffset,
java.nio.LongBuffer target,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long sourceOffset,
java.nio.ShortBuffer target,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueReadBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.ShortBuffer target)
Enqueue a command to read the given buffer into the given target Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.ByteBuffer source)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.DoubleBuffer source)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.FloatBuffer source)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.IntBuffer source)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.LongBuffer source)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long targetOffset,
java.nio.ByteBuffer source,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long targetOffset,
java.nio.DoubleBuffer source,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long targetOffset,
java.nio.FloatBuffer source,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long targetOffset,
java.nio.IntBuffer source,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long targetOffset,
java.nio.LongBuffer source,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
long targetOffset,
java.nio.ShortBuffer source,
boolean blocking,
java.util.List<org.jocl.cl_event> waitList,
org.jocl.cl_event event)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue,
org.jocl.cl_mem buffer,
java.nio.ShortBuffer source)
Enqueue a command to write the given buffer from the given source Buffer. |
static void |
finish(org.jocl.cl_command_queue... commandQueues)
Finish each of the given command queues if it is not null . |
static void |
finish(java.lang.Iterable<org.jocl.cl_command_queue> commandQueues)
Finish each of the given command queues if it is not null . |
static void |
release(org.jocl.cl_command_queue... commandQueues)
Release each of the given command queues if it is not null . |
static void |
release(java.lang.Iterable<org.jocl.cl_command_queue> commandQueues)
Release each of the given command queues if it is not null . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.jocl.cl_command_queue create(org.jocl.cl_context context, org.jocl.cl_device_id device)
context
- The contextdevice
- The device
public static org.jocl.cl_command_queue create(org.jocl.cl_context context, org.jocl.cl_device_id device, boolean profilingEnabled)
context
- The contextdevice
- The deviceprofilingEnabled
- Whether profiling should be enabled
public static java.util.List<org.jocl.cl_command_queue> create(org.jocl.cl_context context, java.util.List<org.jocl.cl_device_id> devices)
context
- The contextdevices
- The devices
public static java.util.List<org.jocl.cl_command_queue> create(org.jocl.cl_context context, java.util.List<org.jocl.cl_device_id> devices, boolean profilingEnabled)
context
- The contextdevices
- The devicesprofilingEnabled
- Whether profiling should be enabled
public static void release(org.jocl.cl_command_queue... commandQueues)
null
.
commandQueues
- The command queues to releasepublic static void release(java.lang.Iterable<org.jocl.cl_command_queue> commandQueues)
null
.
commandQueues
- The command queues to releasepublic static void finish(org.jocl.cl_command_queue... commandQueues)
null
.
commandQueues
- The command queues to finishpublic static void finish(java.lang.Iterable<org.jocl.cl_command_queue> commandQueues)
null
.
commandQueues
- The command queues to finishpublic static void enqueueKernel1D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work sizepublic static void enqueueKernel1D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long localSizeX)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work sizelocalSizeX
- The local work sizepublic static void enqueueKernel2D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long globalSizeY)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work size for dimension 0globalSizeY
- The global work size for dimension 1public static void enqueueKernel2D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long globalSizeY, long localSizeX, long localSizeY)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work size for dimension 0globalSizeY
- The global work size for dimension 1localSizeX
- The local work size for dimension 0localSizeY
- The local work size for dimension 1public static void enqueueKernel3D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long globalSizeY, long globalSizeZ)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work size for dimension 0globalSizeY
- The global work size for dimension 1globalSizeZ
- The global work size for dimension 2public static void enqueueKernel3D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long globalSizeY, long globalSizeZ, long localSizeX, long localSizeY, long localSizeZ)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work size for dimension 0globalSizeY
- The global work size for dimension 1globalSizeZ
- The global work size for dimension 2localSizeX
- The local work size for dimension 0localSizeY
- The local work size for dimension 1localSizeZ
- The local work size for dimension 2public static void enqueueKernelND(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, int n, long[] globalSize, long[] localSize)
commandQueue
- The command queuekernel
- The kernel to enqueuen
- The dimension of the kernelglobalSize
- The global work sizelocalSize
- The local work sizepublic static void enqueueKernel1D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work sizewaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueKernel1D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long localSizeX, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work sizelocalSizeX
- The local work sizewaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueKernel2D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long globalSizeY, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work size for dimension 0globalSizeY
- The global work size for dimension 1waitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueKernel2D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long globalSizeY, long localSizeX, long localSizeY, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work size for dimension 0globalSizeY
- The global work size for dimension 1localSizeX
- The local work size for dimension 0localSizeY
- The local work size for dimension 1waitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueKernel3D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long globalSizeY, long globalSizeZ, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work size for dimension 0globalSizeY
- The global work size for dimension 1globalSizeZ
- The global work size for dimension 2waitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueKernel3D(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, long globalSizeX, long globalSizeY, long globalSizeZ, long localSizeX, long localSizeY, long localSizeZ, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuekernel
- The kernel to enqueueglobalSizeX
- The global work size for dimension 0globalSizeY
- The global work size for dimension 1globalSizeZ
- The global work size for dimension 2localSizeX
- The local work size for dimension 0localSizeY
- The local work size for dimension 1localSizeZ
- The local work size for dimension 2waitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueKernelND(org.jocl.cl_command_queue commandQueue, org.jocl.cl_kernel kernel, int n, long[] globalSize, long[] localSize, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuekernel
- The kernel to enqueuen
- The dimension of the kernelglobalSize
- The global work sizelocalSize
- The local work size. May be null
.waitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.ByteBuffer target)
commandQueue
- The command queuebuffer
- The source buffertarget
- The target Bufferpublic static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long sourceOffset, java.nio.ByteBuffer target, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The source buffersourceOffset
- The offset (in number of elements) in the source
buffertarget
- The target Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.ByteBuffer source)
commandQueue
- The command queuebuffer
- The target buffersource
- The source Bufferpublic static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long targetOffset, java.nio.ByteBuffer source, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The target buffertargetOffset
- The offset (in number of elements) in the target
buffersource
- The source Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.ShortBuffer target)
commandQueue
- The command queuebuffer
- The source buffertarget
- The target Bufferpublic static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long sourceOffset, java.nio.ShortBuffer target, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The source buffersourceOffset
- The offset (in number of elements) in the source
buffertarget
- The target Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.ShortBuffer source)
commandQueue
- The command queuebuffer
- The target buffersource
- The source Bufferpublic static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long targetOffset, java.nio.ShortBuffer source, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The target buffertargetOffset
- The offset (in number of elements) in the target
buffersource
- The source Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.IntBuffer target)
commandQueue
- The command queuebuffer
- The source buffertarget
- The target Bufferpublic static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long sourceOffset, java.nio.IntBuffer target, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The source buffersourceOffset
- The offset (in number of elements) in the source
buffertarget
- The target Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.IntBuffer source)
commandQueue
- The command queuebuffer
- The target buffersource
- The source Bufferpublic static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long targetOffset, java.nio.IntBuffer source, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The target buffertargetOffset
- The offset (in number of elements) in the target
buffersource
- The source Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.LongBuffer target)
commandQueue
- The command queuebuffer
- The source buffertarget
- The target Bufferpublic static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long sourceOffset, java.nio.LongBuffer target, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The source buffersourceOffset
- The offset (in number of elements) in the source
buffertarget
- The target Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.LongBuffer source)
commandQueue
- The command queuebuffer
- The target buffersource
- The source Bufferpublic static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long targetOffset, java.nio.LongBuffer source, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The target buffertargetOffset
- The offset (in number of elements) in the target
buffersource
- The source Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.FloatBuffer target)
commandQueue
- The command queuebuffer
- The source buffertarget
- The target Bufferpublic static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long sourceOffset, java.nio.FloatBuffer target, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The source buffersourceOffset
- The offset (in number of elements) in the source
buffertarget
- The target Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.FloatBuffer source)
commandQueue
- The command queuebuffer
- The target buffersource
- The source Bufferpublic static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long targetOffset, java.nio.FloatBuffer source, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The target buffertargetOffset
- The offset (in number of elements) in the target
buffersource
- The source Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.DoubleBuffer target)
commandQueue
- The command queuebuffer
- The source buffertarget
- The target Bufferpublic static void enqueueReadBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long sourceOffset, java.nio.DoubleBuffer target, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The source buffersourceOffset
- The offset (in number of elements) in the source
buffertarget
- The target Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.public static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, java.nio.DoubleBuffer source)
commandQueue
- The command queuebuffer
- The target buffersource
- The source Bufferpublic static void enqueueWriteBuffer(org.jocl.cl_command_queue commandQueue, org.jocl.cl_mem buffer, long targetOffset, java.nio.DoubleBuffer source, boolean blocking, java.util.List<org.jocl.cl_event> waitList, org.jocl.cl_event event)
commandQueue
- The command queuebuffer
- The target buffertargetOffset
- The offset (in number of elements) in the target
buffersource
- The source Bufferblocking
- Whether the transfer should be blockingwaitList
- The event wait list. May be null
.event
- The event for this command. May be null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |