JDK 20 #263
-
Hi guys. Are there any obstacles in the integration of TornadoVM with JDK 20? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
And the follow-up question - is it safe to run TornadoVM with Loom virtual threads? |
Beta Was this translation helpful? Give feedback.
-
Hi @Laa , TornadoVM can't run with JDK 20 at the moment. However, we are actively working on this port (we had to update our JIT compiler to connect with the latest JVMCI and GraalVM 23.0). This is a work in progress and hopefully soon this will be fully supported. In the meantime, TornadoVM can be used with JDK 11-19. We use JDK 17 internally for development. |
Beta Was this translation helpful? Give feedback.
-
Thank you, guys, for the prompt answer. Will keep tracking changes to use JDK 20 support once it is implemented. |
Beta Was this translation helpful? Give feedback.
We haven't tested it yet, but from my view, this should work. TornadoVM can be invoked from a Java thread or from a Loom thread. Then the TornadoVM runtime will launch the application on the GPU using a low-level set of threads (CUDA thread, or OpenCL/SPIR-V threads). So TornadoVM is orthogonal to Java/Loom thread from the Java platform.