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

Pre-defined filters. More...

Collaboration diagram for com.jogamp.opencl.util.CLPlatformFilters:

Static Public Member Functions

static Filter< CLPlatformversion (final CLVersion version)
 Accepts all platforms supporting at least the given OpenCL spec version. More...
 
static Filter< CLPlatformtype (final CLDevice.Type type)
 Accepts all platforms containing devices of the given type. More...
 
static Filter< CLPlatformglSharing ()
 Accepts all platforms containing at least one devices of which supports OpenGL-OpenCL interoperability. More...
 
static Filter< CLPlatformglSharing (final GLContext context)
 Accepts all with the given OpenGL context compatible platforms containing at least one devices of which supports OpenGL-OpenCL interoperability. More...
 
static Filter< CLPlatformextension (final String... extensions)
 Accepts all platforms supporting the given extensions. More...
 
static Filter< CLPlatformqueueMode (final Mode... modes)
 Accepts all platforms containing at least one devices supporting the specified command queue modes. More...
 

Detailed Description

Pre-defined filters.

Author
Michael Bien
See also
CLPlatform::getDefault(com.jogamp.opencl.util.Filter[])
CLPlatform::listCLPlatforms(com.jogamp.opencl.util.Filter[])

Definition at line 45 of file CLPlatformFilters.java.

Member Function Documentation

◆ extension()

static Filter< CLPlatform > com.jogamp.opencl.util.CLPlatformFilters.extension ( final String...  extensions)
static

Accepts all platforms supporting the given extensions.

Definition at line 119 of file CLPlatformFilters.java.

Here is the call graph for this function:

◆ glSharing() [1/2]

static Filter< CLPlatform > com.jogamp.opencl.util.CLPlatformFilters.glSharing ( )
static

Accepts all platforms containing at least one devices of which supports OpenGL-OpenCL interoperability.

Definition at line 72 of file CLPlatformFilters.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glSharing() [2/2]

static Filter< CLPlatform > com.jogamp.opencl.util.CLPlatformFilters.glSharing ( final GLContext  context)
static

Accepts all with the given OpenGL context compatible platforms containing at least one devices of which supports OpenGL-OpenCL interoperability.

Definition at line 91 of file CLPlatformFilters.java.

Here is the call graph for this function:

◆ queueMode()

static Filter< CLPlatform > com.jogamp.opencl.util.CLPlatformFilters.queueMode ( final Mode...  modes)
static

Accepts all platforms containing at least one devices supporting the specified command queue modes.

Definition at line 130 of file CLPlatformFilters.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ type()

static Filter< CLPlatform > com.jogamp.opencl.util.CLPlatformFilters.type ( final CLDevice.Type  type)
static

Accepts all platforms containing devices of the given type.

Definition at line 61 of file CLPlatformFilters.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ version()

static Filter< CLPlatform > com.jogamp.opencl.util.CLPlatformFilters.version ( final CLVersion  version)
static

Accepts all platforms supporting at least the given OpenCL spec version.

Definition at line 50 of file CLPlatformFilters.java.

Here is the call graph for this function:
Here is the caller graph for this function:

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