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

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

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

Public Member Functions

 CLSimpleQueueContext (final CLCommandQueue queue, final CLProgram program)
 
Map< String, CLKernelgetKernels ()
 
CLKernel getKernel (final String name)
 
CLProgram getProgram ()
 
void release ()
 Releases the OpenCL resource. More...
 
boolean isReleased ()
 Returns true if release() has been called. More...
 
- Public Member Functions inherited from com.jogamp.opencl.util.concurrent.CLQueueContext
 CLQueueContext (final CLCommandQueue queue)
 
CLCommandQueue getQueue ()
 
CLContext getCLContext ()
 
void release ()
 Releases the OpenCL resource. More...
 
boolean isReleased ()
 Returns true if release() has been called. More...
 

Public Attributes

final CLProgram program
 
final Map< String, CLKernelkernels
 
- Public Attributes inherited from com.jogamp.opencl.util.concurrent.CLQueueContext
final CLCommandQueue queue
 

Detailed Description

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

Author
Michael Bien

Definition at line 43 of file CLQueueContext.java.

Constructor & Destructor Documentation

◆ CLSimpleQueueContext()

Definition at line 48 of file CLQueueContext.java.

Here is the call graph for this function:

Member Function Documentation

◆ getKernel()

CLKernel com.jogamp.opencl.util.concurrent.CLQueueContext.CLSimpleQueueContext.getKernel ( final String  name)

Definition at line 58 of file CLQueueContext.java.

◆ getKernels()

Map< String, CLKernel > com.jogamp.opencl.util.concurrent.CLQueueContext.CLSimpleQueueContext.getKernels ( )

Definition at line 54 of file CLQueueContext.java.

◆ getProgram()

CLProgram com.jogamp.opencl.util.concurrent.CLQueueContext.CLSimpleQueueContext.getProgram ( )

Definition at line 62 of file CLQueueContext.java.

◆ isReleased()

boolean com.jogamp.opencl.util.concurrent.CLQueueContext.CLSimpleQueueContext.isReleased ( )

Returns true if release() has been called.

Implements com.jogamp.opencl.CLResource.

Definition at line 72 of file CLQueueContext.java.

◆ release()

void com.jogamp.opencl.util.concurrent.CLQueueContext.CLSimpleQueueContext.release ( )

Releases the OpenCL resource.

Implements com.jogamp.opencl.CLResource.

Definition at line 67 of file CLQueueContext.java.

Here is the call graph for this function:

Member Data Documentation

◆ kernels

final Map<String, CLKernel> com.jogamp.opencl.util.concurrent.CLQueueContext.CLSimpleQueueContext.kernels

Definition at line 46 of file CLQueueContext.java.

◆ program

final CLProgram com.jogamp.opencl.util.concurrent.CLQueueContext.CLSimpleQueueContext.program

Definition at line 45 of file CLQueueContext.java.


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