com.jogamp.opencl.util.concurrent
Class CLQueueContextFactory<C extends CLQueueContext>
java.lang.Object
com.jogamp.opencl.util.concurrent.CLQueueContextFactory<C>
- Direct Known Subclasses:
- CLQueueContextFactory.CLSimpleContextFactory
public abstract class CLQueueContextFactory<C extends CLQueueContext>
- extends Object
Creates CLQueueContext
s.
- Author:
- Michael Bien
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLQueueContextFactory
public CLQueueContextFactory()
setup
public abstract C setup(CLCommandQueue queue,
CLQueueContext old)
- Creates a new queue context for the given queue.
- Parameters:
old
- the old context or null.
createSimple
public static CLQueueContextFactory.CLSimpleContextFactory createSimple(String source)
- Creates a simple context factory producing single program contexts.
- Parameters:
source
- sourcecode of a OpenCL program.