Skip to content

TornadoVM 4.0.0-jdk21

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Apr 13:22
· 17 commits to master since this release
8b5c1a3

02/04/26

Improvements

  • #796: [JDK21] Add Apple Metal backend to run natively on Apple Silicon
  • #813: Add SIMD Shuffle/Reduction Support to PTX Backend
  • #811: Add support for CUDA Graphs to replay bytecodes to reduce dispatch overhead

Bug Fixes

  • #817: [hotfix] Fix double-deletion of PiNode when multiple OffsetAddressNodes share the same PiNode

Other Changes

  • #814: [docs] Update readme to inlcude metal
  • #819: Sync master with develop
  • #818: [fix] Make cmake to always set CMAKE_OSX_SYSROOT explicitly
  • #808: Add TornadoVM developer skill (build, test, debug, Java 21+ idioms) for Claude
  • #807: Post release minor fixes for mvn deploy and readme budges

How to use TornadoVM SDK

To use the TornadoVM SDK, ensure that the environment variable JAVA_HOME points to a valid JDK 21 installation. After that, select the appropriate sdk distribution for your target architecture and the accelerator backends you intend to use.

Linux Systems

wget https://github.com/beehive-lab/TornadoVM/releases/download/v4.0.0-jdk21/tornadovm-4.0.0-jdk21-opencl-linux-amd64.zip
unzip tornadovm-4.0.0-jdk21-opencl-linux-amd64.zip
export TORNADOVM_HOME="$(pwd)/tornadovm-4.0.0-opencl"
export PATH=$TORNADOVM_HOME/bin:$PATH
tornado --devices
tornado --version

macOS Systems

wget https://github.com/beehive-lab/TornadoVM/releases/download/v4.0.0-jdk21/tornadovm-4.0.0-jdk21-opencl-mac-aarch64.zip
unzip tornadovm-4.0.0-jdk21-opencl-mac-aarch64.zip
export TORNADOVM_HOME="$(pwd)/tornadovm-4.0.0-opencl"
export PATH=$TORNADOVM_HOME/bin:$PATH
tornado --devices
tornado --version

Windows (10+) Systems

curl -L -o tornadovm-4.0.0-jdk21-opencl-windows-amd64.zip https://github.com/beehive-lab/TornadoVM/releases/download/v4.0.0-jdk21/tornadovm-4.0.0-jdk21-opencl-windows-amd64.zip
tar -xf tornadovm-4.0.0-jdk21-opencl-windows-amd64.zip
set TORNADOVM_HOME=%cd%\tornadovm-4.0.0-opencl
set PATH=%TORNADOVM_HOME%\bin;%PATH%
tornado --devices
tornado --version