public abstract class CLQueueContextFactory<C extends CLQueueContext> extends Object
CLQueueContexts.| Modifier and Type | Class and Description |
|---|---|
static class |
CLQueueContextFactory.CLSimpleContextFactory
Creates
CLQueueContext.CLSimpleQueueContexts containing a precompiled program. |
| Constructor and Description |
|---|
CLQueueContextFactory() |
| Modifier and Type | Method and 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.
|
public abstract C setup(CLCommandQueue queue, CLQueueContext old)
old - the old context or null.public static CLQueueContextFactory.CLSimpleContextFactory createSimple(String source)
source - sourcecode of a OpenCL program.