Package | Description |
---|---|
com.jogamp.opencl.util.concurrent |
OpenCL multi device concurrency utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
CLCommandQueuePool<C extends CLQueueContext>
A multithreaded, fixed size pool of OpenCL command queues.
|
class |
CLQueueContextFactory<C extends CLQueueContext>
Creates
CLQueueContext s. |
interface |
CLTask<C extends CLQueueContext,R>
A task executed on a command queue.
|
Modifier and Type | Class and Description |
---|---|
static class |
CLQueueContext.CLSimpleQueueContext
A simple queue context holding a precompiled program and its kernels.
|
Modifier and Type | Method and Description |
---|---|
static <C extends CLQueueContext> |
CLCommandQueuePool.create(CLQueueContextFactory<C> factory,
CLMultiContext mc,
CLCommandQueue.Mode... modes) |
static <C extends CLQueueContext> |
CLCommandQueuePool.create(CLQueueContextFactory<C> factory,
Collection<CLCommandQueue> queues) |
static <C extends CLQueueContext> |
CLCommandQueuePool.create(CLQueueContextFactory<C> factory,
Collection<CLDevice> devices,
CLCommandQueue.Mode... modes) |
<C extends CLQueueContext> |
CLCommandQueuePool.switchContext(CLQueueContextFactory<C> factory)
Switches the context of all queues - this operation can be expensive.
|
Modifier and Type | Method and Description |
---|---|
abstract C |
CLQueueContextFactory.setup(CLCommandQueue queue,
CLQueueContext old)
Creates a new queue context for the given queue.
|
CLQueueContext.CLSimpleQueueContext |
CLQueueContextFactory.CLSimpleContextFactory.setup(CLCommandQueue queue,
CLQueueContext old) |