com.jogamp.opencl.util.concurrent
Class CLQueueContext
java.lang.Object
com.jogamp.opencl.util.concurrent.CLQueueContext
- All Implemented Interfaces:
- CLResource
- Direct Known Subclasses:
- CLQueueContext.CLSimpleQueueContext
public abstract class CLQueueContext
- extends Object
- implements CLResource
Superclass for all per-queue contexts as used in CLCommandQueuePool
s.
A context will usually hold queue (and therefore often device) specific resources used
in tasks of the same queue.
Possible candidates for those resources can be compiled CLPrograms, CLKernels
or even pre allocated CLBuffers.
- Author:
- Michael Bien
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
queue
public final CLCommandQueue queue
CLQueueContext
public CLQueueContext(CLCommandQueue queue)
getQueue
public CLCommandQueue getQueue()
getCLContext
public CLContext getCLContext()