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 inCLCommandQueuePools. 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCLQueueContext.CLSimpleQueueContextA simple queue context holding a precompiled program and its kernels.
-
Field Summary
Fields Modifier and Type Field Description CLCommandQueuequeue
-
Constructor Summary
Constructors Constructor Description CLQueueContext(CLCommandQueue queue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CLContextgetCLContext()CLCommandQueuegetQueue()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.jogamp.opencl.CLResource
isReleased, release
-
-
-
-
Field Detail
-
queue
public final CLCommandQueue queue
-
-
Constructor Detail
-
CLQueueContext
public CLQueueContext(CLCommandQueue queue)
-
-
Method Detail
-
getQueue
public CLCommandQueue getQueue()
-
getCLContext
public CLContext getCLContext()
-
-