com.jogamp.opencl.util.concurrent
Class CLQueueContextFactory.CLSimpleContextFactory

java.lang.Object
  extended by com.jogamp.opencl.util.concurrent.CLQueueContextFactory<CLQueueContext.CLSimpleQueueContext>
      extended by com.jogamp.opencl.util.concurrent.CLQueueContextFactory.CLSimpleContextFactory
Enclosing class:
CLQueueContextFactory<C extends CLQueueContext>

public static class CLQueueContextFactory.CLSimpleContextFactory
extends CLQueueContextFactory<CLQueueContext.CLSimpleQueueContext>

Creates CLQueueContext.CLSimpleQueueContexts containing a precompiled program.

Author:
Michael Bien

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jogamp.opencl.util.concurrent.CLQueueContextFactory
CLQueueContextFactory.CLSimpleContextFactory
 
Constructor Summary
CLQueueContextFactory.CLSimpleContextFactory(String source)
           
 
Method Summary
 CLQueueContext.CLSimpleQueueContext setup(CLCommandQueue queue, CLQueueContext old)
          Creates a new queue context for the given queue.
 
Methods inherited from class com.jogamp.opencl.util.concurrent.CLQueueContextFactory
createSimple
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLQueueContextFactory.CLSimpleContextFactory

public CLQueueContextFactory.CLSimpleContextFactory(String source)
Method Detail

setup

public CLQueueContext.CLSimpleQueueContext setup(CLCommandQueue queue,
                                                 CLQueueContext old)
Description copied from class: CLQueueContextFactory
Creates a new queue context for the given queue.

Specified by:
setup in class CLQueueContextFactory<CLQueueContext.CLSimpleQueueContext>
old - the old context or null.