Skip to content

TornadoVM v0.11

Compare
Choose a tag to compare
@jjfumero jjfumero released this 29 Sep 09:23
· 3883 commits to master since this release
bd65e7a
  • TornadoVM JIT Compiler upgrade to work with Graal 21.2.0 and JDK 8 with JVMCI 21.2.0
  • Refactoring of the Kernel Parallel API for Heterogeneous Programming:
    • Methods getLocalGroupSize(index) and getGlobalGroupSize moved to public fields to keep consistency with the rest of the thread properties within the KernelContext class.
  • Compiler update to register the global number of threads: https://github.com/beehive-lab/TornadoVM/pull/133/files
  • Simplification of the TornadoVM events handler: https://github.com/beehive-lab/TornadoVM/pull/135/files
  • Renaming the Profiler API method from event.getExecutionTime to event.getElapsedTime: #134
  • Deprecating OCLWriteNode and PTXWriteNode and fixing stores for bytes: #131
  • Refactoring of the FPGA IR extensions, from the high-tier to the low-tier of the JIT compiler
    • Utilizing the FPGA Thread-Attributes compiler phase for the FPGA execution
    • Using the GridScheduler object (if present) or use a default value (e.g., 64, 1, 1) for defining the FPGA OpenCL local workgroup
  • Several bugs fixed:
    • Codegen for sequential kernels fixed
    • Function parameters with non-inlined method calls fixed

Docker Images

Docker images available for v0.11. Note that all docker images are built for the OpenCL backend only.

Visit https://github.com/beehive-lab/docker-tornado for more details

Pom file dependencies

To obtain the TornadoVM API from maven dependencies, you need to include the following dependency in our pom file. Note that, for running the TornadoVM application, you either need a full installation of the TornadoVM or a docker instance of TornadoVM.

   <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.11</version>
      </dependency>

      <dependency>
         <groupId>tornado</groupId>
         <artifactId>tornado-matrices</artifactId>
         <version>0.11</version>
      </dependency>
   </dependencies>