Top Description Inners Constructors Methods
com.jogamp.opencl.util.concurrent

public abstract Class CLQueueContextFactory<C extends CLQueueContext>

extends Object
Class Inheritance
Known Direct Subclasses
com.jogamp.opencl.util.concurrent.CLQueueContextFactory.CLSimpleContextFactory
Imports
com.jogamp.opencl.CLCommandQueue, .CLProgram, com.jogamp.opencl.util.concurrent.CLQueueContext.CLSimpleQueueContext

Creates CLQueueContexts.
Author
Michael Bien

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
CLQueueContextFactory.CLSimpleContextFactory

Creates CLSimpleQueueContexts containing a precompiled program.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static CLQueueContextFactory.CLSimpleContextFactory
createSimple(final String
sourcecode of a OpenCL program.
source
)

Creates a simple context factory producing single program contexts.

public abstract C
setup(CLCommandQueue queue, CLQueueContext
the old context or null.
old
)

Creates a new queue context for the given queue.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CLQueueContextFactoryback to summary
public CLQueueContextFactory()

Method Detail

createSimpleback to summary
public static CLQueueContextFactory.CLSimpleContextFactory createSimple(final String source)

Creates a simple context factory producing single program contexts.

Parameters
source:String

sourcecode of a OpenCL program.

setupback to summary
public abstract C setup(CLCommandQueue queue, CLQueueContext old)

Creates a new queue context for the given queue.

Parameters
old:CLQueueContext

the old context or null.

com.jogamp.opencl.util.concurrent back to summary

public Class CLQueueContextFactory.CLSimpleContextFactory

extends CLQueueContextFactory<CLQueueContext.CLSimpleQueueContext>
Class Inheritance

Creates CLSimpleQueueContexts containing a precompiled program.
Author
Michael Bien

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public CLQueueContext.CLSimpleQueueContext
setup(final CLCommandQueue queue, final CLQueueContext
the old context or null.
old
)

Implements abstract com.jogamp.opencl.util.concurrent.CLQueueContextFactory.setup.

Creates a new queue context for the given queue.
Inherited from com.jogamp.opencl.util.concurrent.CLQueueContextFactory:
createSimple

Field Detail

sourceback to summary
private final String source

Constructor Detail

CLSimpleContextFactoryback to summary
public CLSimpleContextFactory(final String source)

Method Detail

setupback to summary
public CLQueueContext.CLSimpleQueueContext setup(final CLCommandQueue queue, final CLQueueContext old)

Implements abstract com.jogamp.opencl.util.concurrent.CLQueueContextFactory.setup.

Doc from com.jogamp.opencl.util.concurrent.CLQueueContextFactory.setup.

Creates a new queue context for the given queue.

Parameters
old:CLQueueContext

the old context or null.

Annotations
@Override