com.jogamp.opencl.util.concurrent
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
program
public final CLProgram program
kernels
public final Map<String,CLKernel> kernels
CLQueueContext.CLSimpleQueueContext
public CLQueueContext.CLSimpleQueueContext(CLCommandQueue queue,
CLProgram program)
getKernels
public Map<String,CLKernel> getKernels()
getKernel
public CLKernel getKernel(String name)
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 if
CLResource.release()
has been called.