11# TornadoVM
22
3- ![ TornadoVM version] ( https://img.shields.io/badge/version-1.1.0 -purple ) [ ![ Contributor Covenant] ( https://img.shields.io/badge/Contributor%20Covenant-1.4-4baaaa.svg )] ( CODE_OF_CONDUCT.md ) [ ![ License: Apache 2] ( https://img.shields.io/badge/License-Apache%202.0-red.svg )] ( https://github.com/beehive-lab/TornadoVM/blob/master/LICENSE_APACHE2 ) [ ![ License: GPL v2] ( https://img.shields.io/badge/License-GPL%20V2%20Classpth%20Exeception-blue.svg )] ( https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html )
3+ ![ TornadoVM version] ( https://img.shields.io/badge/version-1.1.1 -purple ) [ ![ Contributor Covenant] ( https://img.shields.io/badge/Contributor%20Covenant-1.4-4baaaa.svg )] ( CODE_OF_CONDUCT.md ) [ ![ License: Apache 2] ( https://img.shields.io/badge/License-Apache%202.0-red.svg )] ( https://github.com/beehive-lab/TornadoVM/blob/master/LICENSE_APACHE2 ) [ ![ License: GPL v2] ( https://img.shields.io/badge/License-GPL%20V2%20Classpth%20Exeception-blue.svg )] ( https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html )
44
55<img align =" left " width =" 250 " height =" 250 " src =" etc/tornadoVM_Logo.jpg " >
66
@@ -20,7 +20,7 @@ Developers can choose which backends to install and run.
2020
2121For a quick introduction please read the following [ FAQ] ( https://tornadovm.readthedocs.io/en/latest/ ) .
2222
23- ** Latest Release:** TornadoVM 1.1.0 - 31/03 /2025 :
23+ ** Latest Release:** TornadoVM 1.1.1 - 07/07 /2025 :
2424See [ CHANGELOG] ( https://tornadovm.readthedocs.io/en/latest/CHANGELOG.html ) .
2525
2626----------------------
@@ -132,13 +132,13 @@ public class Compute {
132132
133133 public void run(Matrix2DFloat A, Matrix2DFloat B, Matrix2DFloat C, final int size) {
134134
135- // Create a task-graph with multiple tasks. Each task points to an exising Java method
135+ // Create a task-graph with multiple tasks. Each task points to an exising Java method
136136 // that can be accelerated on a GPU/FPGA
137137 TaskGraph taskGraph = new TaskGraph(" myCompute" )
138138 .transferToDevice(DataTransferMode.FIRST_EXECUTION, A, B) // Transfer data from host to device only in the first execution
139139 .task(" mxm" , Compute::mxmLoop, A, B, C, size) // Each task points to an existing Java method
140140 .transferToHost(DataTransferMode.EVERY_EXECUTION, C); // Transfer data from device to host
141-
141+
142142 // Create an immutable task-graph
143143 ImmutableTaskGraph immutableTaskGraph = taskGraph.snaphot ();
144144
@@ -149,7 +149,7 @@ public class Compute {
149149 TorandoExecutionResult executionResult = executionPlan.execute ();
150150
151151 } catch (TornadoExecutionPlanException e) {
152- // handle exception
152+ // handle exception
153153 // ...
154154 }
155155 }
@@ -185,7 +185,7 @@ public class Compute {
185185 GridScheduler gridScheduler = new GridScheduler(" myCompute.mxm" , workerGrid); // Attach the worker to the Grid
186186 KernelContext context = new KernelContext (); // Create a context
187187 workerGrid.setLocalWork(16, 16, 1); // Set the local-group size
188-
188+
189189 TaskGraph taskGraph = new TaskGraph(" myCompute" )
190190 .transferToDevice(DataTransferMode.FIRST_EXECUTION, A, B) // Transfer data from host to device only in the first execution
191191 .task(" mxm" , Compute::mxmKernel, context, A, B, C, size) // Each task points to an existing Java method
@@ -202,9 +202,9 @@ public class Compute {
202202 .withGridScheduler(gridScheduler)
203203 .execute ();
204204 } catch (TornadoExecutionPlanException e) {
205- // handle exception
205+ // handle exception
206206 // ...
207- }
207+ }
208208 }
209209}
210210` ` `
@@ -264,12 +264,12 @@ You can import the TornadoVM API by setting this the following dependency in the
264264<dependency>
265265 <groupId>tornado</groupId>
266266 <artifactId>tornado-api</artifactId>
267- <version>1.1.0 </version>
267+ <version>1.1.1 </version>
268268</dependency>
269269<dependency>
270270 <groupId>tornado</groupId>
271271 <artifactId>tornado-matrices</artifactId>
272- <version>1.1.0 </version>
272+ <version>1.1.1 </version>
273273</dependency>
274274</dependencies>
275275```
@@ -380,4 +380,4 @@ Each Java TornadoVM module is licensed as follows:
380380| Tornado-Benchmarks | [](https://github.com/beehive-lab/TornadoVM/blob/master/LICENSE_APACHE2) |
381381| Tornado-Examples | [](https://github.com/beehive-lab/TornadoVM/blob/master/LICENSE_APACHE2) |
382382| Tornado-Matrices | [](https://github.com/beehive-lab/TornadoVM/blob/master/LICENSE_APACHE2) |
383- | | |
383+ | | |
0 commit comments