Open mikepapadim opened 3 months ago
@mikepapadim, will JDK 21 still be supported? Many companies will deny to use non-LTS versions.
@mikepapadim, will JDK 21 still be supported? Many companies will deny to use non-LTS versions.
We dont plan to merge this at least until the next LTS-release (JDK25, Sept 2025). We are going to keep into a seperate branch in case users on JDK22+ want to use TornadoVM.
@mikepapadim Got it, but do you plan to merge the new proxy implementation for MemorySegment?
This now ready:
Pass-rate:
SPIR-V:
==================================================
Unit tests report
==================================================
{'[PASS]': 572, '[FAILED]': 5, '[UNSUPPORTED]': 141}
Coverage [PASS/(PASS+FAIL)]: 99.13%
Coverage [PASS/(PASS+FAIL+UNSUPPORTED)]: 79.67%
==================================================
PTX:
==================================================
Unit tests report
==================================================
{'[PASS]': 658, '[FAILED]': 4, '[UNSUPPORTED]': 56}
Coverage [PASS/(PASS+FAIL)]: 99.4%
Coverage [PASS/(PASS+FAIL+UNSUPPORTED)]: 91.64%
==================================================
OpenCL:
==================================================
Unit tests report
==================================================
{'[PASS]': 668, '[FAILED]': 5, '[UNSUPPORTED]': 45}
Coverage [PASS/(PASS+FAIL)]: 99.26%
Coverage [PASS/(PASS+FAIL+UNSUPPORTED)]: 93.04%
==================================================
Awesome!
@mairooni , @stratika and myself, let's initiate final testing.
Note, this branch is not going to be merge due to changes in GraalVM - JDK. The idea is to keep this branch alive and aligned with master
until JDK 25. Then this branch will be pushed into master
.
BTW OpenJDK 23 already has GraalJIT inside of IT https://download.java.net/java/early_access/jdk23/docs/specs/man/java.html#enabling-the-graal-jit-compiler, so there will be no need to provide separate jars.
Here is a summary of the tests I have tried. I think it looks in an advanced state the branch, I have spotted three issues.
tornadovm-installer
script in macOS
and linux
.develop
(JDK 21) in my system. Only one of the whitelisted tests (mxm2DKernelContext02()
) is failing in the codegen, while in develop it is generating kernels. I added an issue: #518Here is a summary of the tests I have tried. I think it looks in an advanced state the branch, I have spotted three issues.
- The polyglot tests are working.
- I added the links for the JDK 22 vendors and tested the
tornadovm-installer
script inmacOS
andlinux
.- The pass-rate of the unit-tests is the same as in
develop
(JDK 21) in my system. Only one of the whitelisted tests (mxm2DKernelContext02()
) is failing in the codegen, while in develop it is generating kernels. I added an issue: Code gen issue in the JDK 22 branch for matrix multiplication unit-test that uses the Kernel API #518- There seems to be an issue with the addresses in the FPGA kernels: FPGA result is not correct in JDK 22 branch, due to casting of the address type #517
- The TornadoVM-Ray-Tracer is tested for OpenCL. However, the SPIR-V backend has an issue. [bug] Issue in TornadoVM-Ray-Tracer with SPIR-V in the JDK 22 branch #520
I tested the branch for OpenCL and PTX on Windows 11. I did a minor update in the Makefile.mak
file to be synced with the Makefile
.
Latest version available in: https://github.com/beehive-lab/TornadoVM/tree/jdk22-graal-24.0.2
This PR is in working state for TornadoVM running with JDK22 and Graal 24.0.1.
How to test:
Excpected pass-rate: