Java on GPU: Complete Method directly on GPUin plain Java

Viewed 24929

Firstly: Is it possible to use Java and let it (partly) run on or use GPUs? And if it's possible, is it possible to use the normal Java syntax and not using special cuda or opencl syntax?

I want just take my coded java source and let it run with the smallest changes possible on GPUs.

I would greatly appreciate code samples.

5 Answers

TornadoVM is a plug-in to OpenJDK that allows programmers to automatically run Java programs on heterogeneous hardware. TornadoVM currently targets OpenCL-compatible devices and it runs on multi-core CPUs, GPUs (NVIDIA and AMD), Intel integrated GPUs, and Intel FPGAs. Take a look here: https://github.com/beehive-lab/TornadoVM

Related