JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java™ (public API).
com.jogamp.opencl.CLDevice.Type Enum Reference

Enumeration for the type of a device. More...

Collaboration diagram for com.jogamp.opencl.CLDevice.Type:

Static Public Member Functions

static Type valueOf (final long clDeviceType)
 

Public Attributes

 CPU =(CL.CL_DEVICE_TYPE_CPU)
 CL_DEVICE_TYPE_CPU. More...
 
 GPU =(CL.CL_DEVICE_TYPE_GPU)
 CL_DEVICE_TYPE_GPU. More...
 
 ACCELERATOR =(CL.CL_DEVICE_TYPE_ACCELERATOR)
 CL_DEVICE_TYPE_ACCELERATOR. More...
 
 DEFAULT =(CL.CL_DEVICE_TYPE_DEFAULT)
 CL_DEVICE_TYPE_DEFAULT. More...
 
 ALL =(CL.CL_DEVICE_TYPE_ALL)
 CL_DEVICE_TYPE_ALL. More...
 
final long TYPE
 Value of wrapped OpenCL device type. More...
 

Detailed Description

Enumeration for the type of a device.

Definition at line 798 of file CLDevice.java.

Member Function Documentation

◆ valueOf()

static Type com.jogamp.opencl.CLDevice.Type.valueOf ( final long  clDeviceType)
static

Definition at line 831 of file CLDevice.java.

Here is the caller graph for this function:

Member Data Documentation

◆ ACCELERATOR

com.jogamp.opencl.CLDevice.Type.ACCELERATOR =(CL.CL_DEVICE_TYPE_ACCELERATOR)

CL_DEVICE_TYPE_ACCELERATOR.

Definition at line 810 of file CLDevice.java.

◆ ALL

com.jogamp.opencl.CLDevice.Type.ALL =(CL.CL_DEVICE_TYPE_ALL)

CL_DEVICE_TYPE_ALL.

This type can be used for creating a context on all devices, a single device can never have this type.

Definition at line 820 of file CLDevice.java.

◆ CPU

com.jogamp.opencl.CLDevice.Type.CPU =(CL.CL_DEVICE_TYPE_CPU)

CL_DEVICE_TYPE_CPU.

Definition at line 802 of file CLDevice.java.

◆ DEFAULT

com.jogamp.opencl.CLDevice.Type.DEFAULT =(CL.CL_DEVICE_TYPE_DEFAULT)

CL_DEVICE_TYPE_DEFAULT.

This type can be used for creating a context on the default device, a single device can never have this type.

Definition at line 815 of file CLDevice.java.

◆ GPU

com.jogamp.opencl.CLDevice.Type.GPU =(CL.CL_DEVICE_TYPE_GPU)

CL_DEVICE_TYPE_GPU.

Definition at line 806 of file CLDevice.java.

◆ TYPE

final long com.jogamp.opencl.CLDevice.Type.TYPE

Value of wrapped OpenCL device type.

Definition at line 825 of file CLDevice.java.


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