JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java™ (public API).
com.jogamp.opencl.util.concurrent.CLQueueContextFactory< C extends CLQueueContext > Class Template Referenceabstract

Creates CLQueueContexts. More...

Inheritance diagram for com.jogamp.opencl.util.concurrent.CLQueueContextFactory< C extends CLQueueContext >:
Collaboration diagram for com.jogamp.opencl.util.concurrent.CLQueueContextFactory< C extends CLQueueContext >:

Classes

class  CLSimpleContextFactory
 Creates CLSimpleQueueContexts containing a precompiled program. More...
 

Public Member Functions

abstract C setup (CLCommandQueue queue, CLQueueContext old)
 Creates a new queue context for the given queue. More...
 

Static Public Member Functions

static CLSimpleContextFactory createSimple (final String source)
 Creates a simple context factory producing single program contexts. More...
 

Detailed Description

Creates CLQueueContexts.

Author
Michael Bien

Definition at line 14 of file CLQueueContextFactory.java.

Member Function Documentation

◆ createSimple()

static CLSimpleContextFactory com.jogamp.opencl.util.concurrent.CLQueueContextFactory< C extends CLQueueContext >.createSimple ( final String  source)
static

Creates a simple context factory producing single program contexts.

Parameters
sourcesourcecode of a OpenCL program.

Definition at line 27 of file CLQueueContextFactory.java.

Here is the caller graph for this function:

◆ setup()

abstract C com.jogamp.opencl.util.concurrent.CLQueueContextFactory< C extends CLQueueContext >.setup ( CLCommandQueue  queue,
CLQueueContext  old 
)
abstract

Creates a new queue context for the given queue.

Parameters
oldthe old context or null.

The documentation for this class was generated from the following file: