Sign inSign up

beehivelab/tornadovm-intel-openjdk

By beehivelab

•Updated 8 days ago

TornadoVM Docker Image for Intel Platforms: It includes the OpenCL and the SPIR-V Backend.

Image
0

10K+

beehivelab/tornadovm-intel-openjdk repository overview

TornadoVM Docker Image for Intel Platforms: It includes the OpenCL and the SPIR-V Backend.

⁠Prerequisites

The beehivelab/tornadovm-intel-openjdk docker image Intel OpenCL driver for the integrated GPU installed. More info here: https://github.com/intel/compute-runtime⁠.

⁠How to run?

  1. Pull the image

For the intel-gpu image:

$ docker pull beehivelab/tornadovm-intel-openjdk:latest

This image uses the latest TornadoVM for Intel integrated graphics and OpenJDK 17.

  1. Run an experiment

We provide a runner script that compiles and run your Java programs with Tornado. Here's an example:

$ git clone https://github.com/beehive-lab/docker-tornado
$ cd docker-tornado

## Run Matrix Multiplication - provided in the docker-tornado repository
$ ./run_intel_openjdk.sh tornado -cp example/target/example-1.0-SNAPSHOT.jar example.MatrixMultiplication

Computing MxM of 256x256
	CPU Execution: 1.53 GFlops, Total time = 22 ms
	GPU Execution: 8.39 GFlops, Total Time = 4 ms
	Speedup: 5x

Tag summary

Content type

Image

Digest

sha256:7c86e6b6a…

Size

5.5 GB

Last updated

about 2 months ago

docker pull beehivelab/tornadovm-intel-openjdk