Skip to content

beehive-lab/tornadovm.jax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install

To run this program with TornadoVM, you need to have a tornado installation in your machine.

See INSTALL from TornadoVM

After the TornadoVM installation, you need to set the following variables in your system:

export JAVA_HOME=/path/to/Java-JVMCI-used-in-Tornado   ## Change this line
export TORNADO_ROOT=/path/to/tornado/root              ## Change this line
export PATH="${TORNADO_ROOT}/bin/bin/"
export TORNADO_SDK=${TORNADO_ROOT}/bin/sdk

Compile and run

$ mvn clean package
$ tornado -Dparallel=True -cp target/tornadovm.jax-1.0-SNAPSHOT.jar tornadovm.jax.ImageTransformer /path/to/image

Run the sequential code

$ tornado -Dparallel=False -cp target/tornadovm.jax-1.0-SNAPSHOT.jar tornadovm.jax.ImageTransformer /path/to/imag

Print the OpenCL generated kernel:

$ tornado --printKernel -Dparallel=True -cp target/tornadovm.jax-1.0-SNAPSHOT.jar tornadovm.jax.ImageTransformer

Use debug information to track devices:

$ tornado --printKernel --debug -Dparallel=True -cp target/tornadovm.jax-1.0-SNAPSHOT.jar tornadovm.jax.ImageTransformer

Releases

No releases published

Packages

No packages published

Languages