public class CLQueue extends Object
CLDevice.createQueue(com.nativelibs4java.opencl.CLContext, com.nativelibs4java.opencl.CLDevice.QueueProperties[])
see CLDevice.createOutOfOrderQueue(com.nativelibs4java.opencl.CLContext)
see CLDevice.createProfilingQueue(com.nativelibs4java.opencl.CLContext)
see CLContext.createDefaultQueue(com.nativelibs4java.opencl.CLDevice.QueueProperties[])
see CLContext.createDefaultOutOfOrderQueue()
see CLContext.createDefaultProfilingQueue()| Modifier and Type | Class and Description |
|---|---|
static interface |
CLQueue.NativeKernel |
public CLContext getContext()
public boolean isOutOfOrder()
public EnumSet<CLDevice.QueueProperties> getProperties()
public void setProperty(CLDevice.QueueProperties property, boolean enabled)
public void finish()
public void flush()
public void enqueueWaitForEvents(CLEvent... eventsToWaitFor)
public CLEvent enqueueMigrateMemObjects(CLMem[] memObjects, EnumSet<CLMem.Migration> flags, CLEvent... eventsToWaitFor)
public CLEvent enqueueBarrier(CLEvent... eventsToWaitFor)
eventsToWaitFor - Events that need to complete before this particular command can be executed. Special value CLEvent.FIRE_AND_FORGET can be used to avoid returning a CLEvent.CLEvent.FIRE_AND_FORGET.@Deprecated public CLEvent enqueueMarker(CLEvent... eventsToWaitFor)
eventsToWaitFor - Events that need to complete before this particular command can be executed. Special value CLEvent.FIRE_AND_FORGET can be used to avoid returning a CLEvent.CLEvent.FIRE_AND_FORGET.public CLEvent enqueueAcquireGLObjects(CLMem[] objects, CLEvent... eventsToWaitFor)
objects - CL memory objects that correspond to GL objects.eventsToWaitFor - Events that need to complete before this particular command can be executed. Special value CLEvent.FIRE_AND_FORGET can be used to avoid returning a CLEvent.CLEvent.FIRE_AND_FORGET.public CLEvent enqueueReleaseGLObjects(CLMem[] objects, CLEvent... eventsToWaitFor)
objects - CL memory objects that correpond to GL objects.eventsToWaitFor - Events that need to complete before this particular command can be executed. Special value CLEvent.FIRE_AND_FORGET can be used to avoid returning a CLEvent.CLEvent.FIRE_AND_FORGET.public void release()
public static <E extends TypedPointer,A extends com.nativelibs4java.opencl.CLAbstractEntity> Pointer<E> getEntities(A[] objects, Pointer<E> out)
public int hashCode()
Copyright © 2009-2015. All Rights Reserved.