beehive-lab / docker-tornadovm Goto Github PK
View Code? Open in Web Editor NEWDocker build scripts for TornadoVM on GPUs: https://github.com/beehive-lab/TornadoVM
License: Apache License 2.0
Docker build scripts for TornadoVM on GPUs: https://github.com/beehive-lab/TornadoVM
License: Apache License 2.0
Docker images for Intel GPUs to be based on Fedora >= 34
The FPGA emulation mode does not seem to be working with the latest oneAPI (2023.2) and TornadoVM.
This task is for checking that the configuration within Docker is correct since FPGAs can be used as standalone devices in TornadoVM.
Hi guys,
Thanks for the clear "getting started" docs :) Unfortunately I'm hitting an error when trying to run the Intel OpenCL docker image. It looks like no platforms are being found, causing this array to be initialised empty:
$ docker pull beehivelab/tornado-intel-gpu:latest
$ git clone https://github.com/beehive-lab/docker-tornado
$ cd docker-tornado
$ ./run_intel.sh javac.py example/MatrixMultiplication.java
javac -classpath ".:/tornado/tornado/bin/sdk//share/java/tornado/all-0.28.jar:/tornado/tornado/bin/sdk//share/java/tornado/commons-lang3-3.3.2.jar:/tornado/tornado/bin/sdk//share/java/tornado/core-0.28.jar:/tornado/tornado/bin/sdk//share/java/tornado/dense64-0.28.jar:/tornado/tornado/bin/sdk//share/java/tornado/denseC64-0.28.jar:/tornado/tornado/bin/sdk//share/java/tornado/ejml-all-0.31.jar:/tornado/tornado/bin/sdk//share/java/tornado/ejml-cdense-0.31.jar:/tornado/tornado/bin/sdk//share/java/tornado/ejml-core-0.31.jar:/tornado/tornado/bin/sdk//share/java/tornado/ejml-ddense-0.31.jar:/tornado/tornado/bin/sdk//share/java/tornado/ejml-dsparse-0.31.jar:/tornado/tornado/bin/sdk//share/java/tornado/ejml-fdense-0.31.jar:/tornado/tornado/bin/sdk//share/java/tornado/ejml-simple-0.31.jar:/tornado/tornado/bin/sdk//share/java/tornado/ejml-zdense-0.31.jar:/tornado/tornado/bin/sdk//share/java/tornado/equation-0.28.jar:/tornado/tornado/bin/sdk//share/java/tornado/graal-0.22.jar:/tornado/tornado/bin/sdk//share/java/tornado/hamcrest-core-1.3.jar:/tornado/tornado/bin/sdk//share/java/tornado/junit-4.12.jar:/tornado/tornado/bin/sdk//share/java/tornado/log4j-api-2.5.jar:/tornado/tornado/bin/sdk//share/java/tornado/log4j-core-2.5.jar:/tornado/tornado/bin/sdk//share/java/tornado/lucene-core-4.10.4.jar:/tornado/tornado/bin/sdk//share/java/tornado/simple-0.28.jar:/tornado/tornado/bin/sdk//share/java/tornado/tornado-api-0.3.jar:/tornado/tornado/bin/sdk//share/java/tornado/tornado-benchmarks-0.3.jar:/tornado/tornado/bin/sdk//share/java/tornado/tornado-drivers-opencl-0.3.jar:/tornado/tornado/bin/sdk//share/java/tornado/tornado-drivers-opencl-jni-0.3-libs.jar:/tornado/tornado/bin/sdk//share/java/tornado/tornado-examples-0.3.jar:/tornado/tornado/bin/sdk//share/java/tornado/tornado-matrices-0.3.jar:/tornado/tornado/bin/sdk//share/java/tornado/tornado-runtime-0.3.jar:/tornado/tornado/bin/sdk//share/java/tornado/tornado-unittests-0.3.jar:/tornado/tornado/bin/sdk//share/java/tornado/truffle-api-0.22.jar:/tornado/tornado/bin/sdk//share/java/tornado/" example/MatrixMultiplication.java
$ ./run_intel.sh tornado example/MatrixMultiplication
Computing MxM of 512x512
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at uk.ac.manchester.tornado.drivers.opencl.OCLDriver.checkAndInitBackend(OCLDriver.java:92)
at uk.ac.manchester.tornado.drivers.opencl.OCLDriver.getDefaultBackend(OCLDriver.java:152)
at uk.ac.manchester.tornado.drivers.opencl.OCLDriver.getProviders(OCLDriver.java:180)
at uk.ac.manchester.tornado.runtime.tasks.TornadoTaskSchedule.addInner(TornadoTaskSchedule.java:196)
at uk.ac.manchester.tornado.runtime.tasks.TornadoTaskSchedule.addTask(TornadoTaskSchedule.java:1322)
at uk.ac.manchester.tornado.api.TaskSchedule.task(TaskSchedule.java:118)
at example.MatrixMultiplication.main(MatrixMultiplication.java:51)
System information:
$ docker --version
Docker version 18.09.7, build 2d0083d
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
Cheers,
Chris
https://github.com/NVIDIA/nvidia-docker is an archived repository. The replacement seems to be https://github.com/NVIDIA/nvidia-container-toolkit, but I'm not sure what needs to be changed to stay up-to-date here.
Edit: I just noticed that the README here is updated already, so I assume it is just outdated on https://tornadovm.readthedocs.io/en/latest/docker.html.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.