|
JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java (public API).
|
Version of an OpenCL Implementation. More...
Public Member Functions | |
| int | compareTo (final CLVersion other) |
| boolean | isAtLeast (final CLVersion other) |
| boolean | isAtLeast (final int major, final int minor) |
| boolean | isEqual (final CLVersion other) |
| boolean | isEqual (final int major, final int minor) |
| String | getSpecVersion () |
Returns '"OpenCL " + major + "." + minor'. More... | |
| String | getFullVersion () |
| Returns the full, unfiltered version string. More... | |
| String | getImplVersion () |
| short | getMajor () |
| short | getMinor () |
| String | toString () |
| int | hashCode () |
| boolean | equals (final Object obj) |
Returns true if both fullversion Strings match. More... | |
Public Attributes | |
| final String | fullversion |
The full version String is defined as: OpenCL[space][major_version]. More... | |
| final String | implversion |
| The platform specific part of the version string. More... | |
| final short | minor |
| Minor version number. More... | |
| final short | major |
| Mayor version number. More... | |
Static Public Attributes | |
| static final CLVersion | CL_1_0 = new CLVersion("OpenCL 1.0") |
| static final CLVersion | CL_1_1 = new CLVersion("OpenCL 1.1") |
| static final CLVersion | CL_1_2 = new CLVersion("OpenCL 1.2") |
| static final CLVersion | CL_2_0 = new CLVersion("OpenCL 2.0") |
| static final CLVersion | CL_2_1 = new CLVersion("OpenCL 2.1") |
Protected Member Functions | |
| CLVersion (final String version) | |
Version of an OpenCL Implementation.
All comparison operations use the getSpecVersion() for comparison.
Definition at line 42 of file CLVersion.java.
|
protected |
Definition at line 73 of file CLVersion.java.
| int com.jogamp.opencl.CLVersion.compareTo | ( | final CLVersion | other | ) |
Definition at line 87 of file CLVersion.java.
| boolean com.jogamp.opencl.CLVersion.equals | ( | final Object | obj | ) |
Returns true if both fullversion Strings match.
Definition at line 167 of file CLVersion.java.
| String com.jogamp.opencl.CLVersion.getFullVersion | ( | ) |
Returns the full, unfiltered version string.
Definition at line 128 of file CLVersion.java.
| String com.jogamp.opencl.CLVersion.getImplVersion | ( | ) |
Definition at line 135 of file CLVersion.java.
| short com.jogamp.opencl.CLVersion.getMajor | ( | ) |
Definition at line 142 of file CLVersion.java.
| short com.jogamp.opencl.CLVersion.getMinor | ( | ) |
Definition at line 149 of file CLVersion.java.
| String com.jogamp.opencl.CLVersion.getSpecVersion | ( | ) |
Returns '"OpenCL " + major + "." + minor'.
Definition at line 120 of file CLVersion.java.
| int com.jogamp.opencl.CLVersion.hashCode | ( | ) |
Definition at line 159 of file CLVersion.java.
| boolean com.jogamp.opencl.CLVersion.isAtLeast | ( | final CLVersion | other | ) |
Definition at line 101 of file CLVersion.java.
| boolean com.jogamp.opencl.CLVersion.isAtLeast | ( | final int | major, |
| final int | minor | ||
| ) |
| boolean com.jogamp.opencl.CLVersion.isEqual | ( | final CLVersion | other | ) |
Definition at line 109 of file CLVersion.java.
| boolean com.jogamp.opencl.CLVersion.isEqual | ( | final int | major, |
| final int | minor | ||
| ) |
Definition at line 113 of file CLVersion.java.
| String com.jogamp.opencl.CLVersion.toString | ( | ) |
Definition at line 46 of file CLVersion.java.
Definition at line 47 of file CLVersion.java.
Definition at line 48 of file CLVersion.java.
Definition at line 49 of file CLVersion.java.
Definition at line 50 of file CLVersion.java.
| final String com.jogamp.opencl.CLVersion.fullversion |
The full version String is defined as: OpenCL[space][major_version].
[minor_version][space][platform-specific information]
Definition at line 56 of file CLVersion.java.
| final String com.jogamp.opencl.CLVersion.implversion |
The platform specific part of the version string.
Definition at line 61 of file CLVersion.java.
| final short com.jogamp.opencl.CLVersion.major |
| final short com.jogamp.opencl.CLVersion.minor |