https://github.com/beehive-lab/tornadovm-benchmarks

TornadoVM Benchmark Suite

https://github.com/beehive-lab/tornadovm-benchmarks

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.4%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

TornadoVM Benchmark Suite

Basic Info
  • Host: GitHub
  • Owner: beehive-lab
  • License: apache-2.0
  • Language: Java
  • Default Branch: main
  • Size: 10.3 MB
Statistics
  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

TornadoVM Benchmark Suite

TornadoVM Benchmark Suite. This is a work in progress and it is a framework to compare the TornadoVM applications with Java Streams and Java Vector API. Not all implementations contain the Java Vector API at the moment.

Note: this benchmarking suite is currently under development and definition. Some kernels may not be suitable due to lack of relevance or input size limitations on certain accelerators. The suite aims to showcase code diversification, with a focus on LLM, physics, and math simulation workloads.

How to build?

bash ./build.sh

Then install TornadoVM in a separated directory:

bash git clone https://github.com/beehive-lab/TornadoVM cd tornadovm ./bin/tornadovm-installer --backend=opencl --jdk jdk21 cp setvars.sh .. cd ..

How to run?

Setup the environment:

bash source setvars.sh

Run Individual benchamrk:

```bash

Matrix Multiplication

./run.sh mxm

Matrix Vector

./run.sh mxv

Mandelbrot

./run.sh mandelbrot

Montecarlo

./run.sh motecarlo

Run DFT

./run.sh dft

Matrix Transpose

./run.sh mt ```

Run all:

bash ./run.sh

Run with JMH

bash ./run.sh <benchmark> jmh

For example, to run mxm with jmh:

bash ./run.sh mxm jmh

How to Change Device for an Specific Benchmark?

For example, device 0:2 for the benchmark mxv:

bash tornado --printKernel --jvm="-Dtornado.device.memory=2GB -Dbenchmark.mxv.device=0:2" -cp target/tornadovm-benchmarks-1.0-SNAPSHOT.jar tornadovm.benchmarks.Main mxv

Owner

  • Name: Beehive lab
  • Login: beehive-lab
  • Kind: organization
  • Location: United Kingdom

Beehive lab is part of the Advanced Processor Technologies Group at the University of Manchester specializing in hw/sw codesign.

GitHub Events

Total
  • Push event: 18
  • Public event: 1
Last Year
  • Push event: 18
  • Public event: 1

Dependencies

pom.xml maven
  • org.openjdk.jmh:jmh-core 1.37
  • org.openjdk.jmh:jmh-generator-annprocess 1.37
  • tornado:tornado-api 1.1.1-dev
  • tornado:tornado-matrices 1.1.1-dev
  • junit:junit 4.13.2 test