quarks
quarks

Reputation: 35276

What JVM can run on CPU and GPU?

What JVM runs on a CPU + GPU?

I know JVM like Oracle, Zulu, OpenJDK but none is designed to offload processing to GPU.

Upvotes: 5

Views: 1982

Answers (1)

NicuMarasoiu
NicuMarasoiu

Reputation: 806

There is one, https://www.tornadovm.org/ but not sure how mature.

TornadoVM can currently execute on multi-core CPUs, dedicated GPUs (Nvidia, AMD), integrated GPUs (Intel HD Graphics and ARM Mali), and FPGAs (Intel and Xilinx).

Backend wise (not all OSes support all these):
--opencl: Enables the OpenCL backend (requires OpenCL drivers)
--ptx: Enables the PTX backend (requires NVIDIA CUDA drivers)
--spirv: Enables the SPIRV backend (requires Intel Level Zero drivers)

Upvotes: 4

Related Questions