Add extra dependency or JAR file to TornadoVM #264
Replies: 2 comments 4 replies
-
Hi @vineetmishra82 . It seems that our As a workaround, you can install TornadoVM from source code. This will update your maven local repos with all JAR files needed. In any case, you need the TornadoVM built to run your programs because you also need all dynamic libraries to connect to the GPU/FGPA drivers (e.g., CUDA, OpenCL and SPIR-V), as well as the TornadoVM runtime. You can follow the instructions here: Once you installed it, you can add the new dependency in your Pom files: <repositories>
<repository>
<id>universityOfManchester-graal</id>
<url>https://raw.githubusercontent.com/beehive-lab/tornado/maven-tornadovm</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>tornado</groupId>
<artifactId>tornado-api</artifactId>
<version>0.15.2-dev</version>
</dependency>
<dependency>
<groupId>tornado</groupId>
<artifactId>tornado-matrices</artifactId>
<version>0.15.2-dev</version>
</dependency>
</dependencies> |
Beta Was this translation helpful? Give feedback.
-
Hi @jjfumero Juan It didnt work from your maven examples. Your examples work but not the modified ones, as what I saw is GPU processing only works with primitive data types in Java. Even a hint of objects or any other item, it crashes. Maybe as it converts from Java to C code which doesnt have objects. Thank you so much for your assistance and replies. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to use TornadoVM with Opengamma Strata library for GPU calculations, but am unable to include maven dependency in any pom file or even add jars for it. Please help or guide where to implement it. Thanks
Beta Was this translation helpful? Give feedback.
All reactions