public abstract class CLQueueContext extends Object implements CLResource
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.
Modifier and Type | Class and Description |
---|---|
static class |
CLQueueContext.CLSimpleQueueContext
A simple queue context holding a precompiled program and its kernels.
|
Modifier and Type | Field and Description |
---|---|
CLCommandQueue |
queue |
Constructor and Description |
---|
CLQueueContext(CLCommandQueue queue) |
Modifier and Type | Method and Description |
---|---|
CLContext |
getCLContext() |
CLCommandQueue |
getQueue() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isReleased, release
public final CLCommandQueue queue
public CLQueueContext(CLCommandQueue queue)
public CLCommandQueue getQueue()
public CLContext getCLContext()