Class CLCommandQueuePool<C extends CLQueueContext>

  • All Implemented Interfaces:
    CLResource

    public class CLCommandQueuePool<C extends CLQueueContext>
    extends Object
    implements CLResource
    A multithreaded, fixed size pool of OpenCL command queues. It serves as a multiplexer distributing tasks over N queues usually run on N devices. The usage of this pool is similar to ExecutorService but it uses CLTasks instead of Callables and provides a per-queue context for resource sharing across all tasks of one queue.
    Author:
    Michael Bien