Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/jcl/src/openj9.gpu/share/classes/com/ibm/gpu/Version.java
12558 views
1
/*[INCLUDE-IF Sidecar18-SE]*/
2
/*******************************************************************************
3
* Copyright (c) 2014, 2020 IBM Corp. and others
4
*
5
* This program and the accompanying materials are made available under
6
* the terms of the Eclipse Public License 2.0 which accompanies this
7
* distribution and is available at https://www.eclipse.org/legal/epl-2.0/
8
* or the Apache License, Version 2.0 which accompanies this distribution and
9
* is available at https://www.apache.org/licenses/LICENSE-2.0.
10
*
11
* This Source Code may also be made available under the following
12
* Secondary Licenses when the conditions for such availability set
13
* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
14
* General Public License, version 2 with the GNU Classpath
15
* Exception [1] and GNU General Public License, version 2 with the
16
* OpenJDK Assembly Exception [2].
17
*
18
* [1] https://www.gnu.org/software/classpath/license.html
19
* [2] http://openjdk.java.net/legal/assembly-exception.html
20
*
21
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
22
*******************************************************************************/
23
package com.ibm.gpu;
24
25
/**
26
* Acts as an accessor to the current build level of the ibmgpu library.
27
* The main method can be launched from the command line, which will print
28
* the current level to stdout.
29
*/
30
/*[IF JAVA_SPEC_VERSION >= 16]*/
31
public final class Version {
32
33
private Version() {
34
super();
35
}
36
/*[ELSE] JAVA_SPEC_VERSION >= 16
37
public class Version {
38
/*[ENDIF] JAVA_SPEC_VERSION >= 16*/
39
40
/**
41
* The current build level of this package.
42
*/
43
protected static final String VERSION = "0.95"; //$NON-NLS-1$
44
45
/**
46
* Prints the current level of ibmgpu to stdout.
47
*
48
* @param args unused
49
*/
50
public static void main(String[] args) {
51
System.out.println("Using IBM GPU release: " + VERSION); //$NON-NLS-1$
52
}
53
54
}
55
56