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

Superclass for all per-queue contexts as used in CLCommandQueuePools. More...

Inheritance diagram for com.jogamp.opencl.util.concurrent.CLQueueContext:
Collaboration diagram for com.jogamp.opencl.util.concurrent.CLQueueContext:

Classes

class  CLSimpleQueueContext
 A simple queue context holding a precompiled program and its kernels. More...
 

Public Member Functions

 CLQueueContext (final CLCommandQueue queue)
 
CLCommandQueue getQueue ()
 
CLContext getCLContext ()
 
- Public Member Functions inherited from com.jogamp.opencl.CLResource
void release ()
 Releases the OpenCL resource. More...
 
boolean isReleased ()
 Returns true if release() has been called. More...
 

Public Attributes

final CLCommandQueue queue
 

Detailed Description

Superclass for all per-queue contexts as used in CLCommandQueuePools.

A context will usually hold queue (and therefore often device) specific resources used in tasks of the same queue.

Possible candidates for those resources can be compiled CLPrograms, CLKernels or even pre allocated CLBuffers.

Author
Michael Bien

Definition at line 23 of file CLQueueContext.java.

Constructor & Destructor Documentation

◆ CLQueueContext()

com.jogamp.opencl.util.concurrent.CLQueueContext.CLQueueContext ( final CLCommandQueue  queue)

Definition at line 27 of file CLQueueContext.java.

Member Function Documentation

◆ getCLContext()

CLContext com.jogamp.opencl.util.concurrent.CLQueueContext.getCLContext ( )

Definition at line 35 of file CLQueueContext.java.

Here is the call graph for this function:

◆ getQueue()

CLCommandQueue com.jogamp.opencl.util.concurrent.CLQueueContext.getQueue ( )

Definition at line 31 of file CLQueueContext.java.

Member Data Documentation

◆ queue

final CLCommandQueue com.jogamp.opencl.util.concurrent.CLQueueContext.queue

Definition at line 25 of file CLQueueContext.java.


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