Class CLQueueContext.CLSimpleQueueContext
- java.lang.Object
-
- com.jogamp.opencl.util.concurrent.CLQueueContext
-
- com.jogamp.opencl.util.concurrent.CLQueueContext.CLSimpleQueueContext
-
- All Implemented Interfaces:
CLResource
- Enclosing class:
- CLQueueContext
public static class CLQueueContext.CLSimpleQueueContext extends CLQueueContext
A simple queue context holding a precompiled program and its kernels.- Author:
- Michael Bien
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jogamp.opencl.util.concurrent.CLQueueContext
CLQueueContext.CLSimpleQueueContext
-
-
Constructor Summary
Constructors Constructor Description CLSimpleQueueContext(CLCommandQueue queue, CLProgram program)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CLKernel
getKernel(String name)
Map<String,CLKernel>
getKernels()
CLProgram
getProgram()
boolean
isReleased()
Returns true ifCLResource.release()
has been called.void
release()
Releases the OpenCL resource.-
Methods inherited from class com.jogamp.opencl.util.concurrent.CLQueueContext
getCLContext, getQueue
-
-
-
-
Constructor Detail
-
CLSimpleQueueContext
public CLSimpleQueueContext(CLCommandQueue queue, CLProgram program)
-
-
Method Detail
-
getProgram
public CLProgram getProgram()
-
release
public void release()
Description copied from interface:CLResource
Releases the OpenCL resource.
-
isReleased
public boolean isReleased()
Description copied from interface:CLResource
Returns true ifCLResource.release()
has been called.
-
-