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
CreatesCLQueueContext
s.- Author:
- Michael Bien
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CLQueueContextFactory.CLSimpleContextFactory
CreatesCLQueueContext.CLSimpleQueueContext
s containing a precompiled program.
-
Constructor Summary
Constructors Constructor Description CLQueueContextFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static CLQueueContextFactory.CLSimpleContextFactory
createSimple(String source)
Creates a simple context factory producing single program contexts.abstract C
setup(CLCommandQueue queue, CLQueueContext old)
Creates a new queue context for the given queue.
-
-
-
Method Detail
-
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.
-
-