Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion external/tornadovm
Submodule tornadovm updated 77 files
+6 −4 tornado-api/src/main/java/uk/ac/manchester/tornado/api/ExecutionPlanType.java
+2 −3 tornado-api/src/main/java/uk/ac/manchester/tornado/api/ImmutableTaskGraph.java
+3 −2 tornado-api/src/main/java/uk/ac/manchester/tornado/api/TaskGraph.java
+45 −4 tornado-api/src/main/java/uk/ac/manchester/tornado/api/TornadoExecutionPlan.java
+35 −2 tornado-api/src/main/java/uk/ac/manchester/tornado/api/TornadoExecutor.java
+1 −1 tornado-api/src/main/java/uk/ac/manchester/tornado/api/TornadoTaskGraphInterface.java
+3 −3 tornado-api/src/main/java/uk/ac/manchester/tornado/api/plan/types/WithPreCompilation.java
+37 −0 tornado-api/src/main/java/uk/ac/manchester/tornado/api/plan/types/WithWarmUpIterations.java
+37 −0 tornado-api/src/main/java/uk/ac/manchester/tornado/api/plan/types/WithWarmUpTime.java
+2 −1 tornado-assembly/src/bin/tornado-test
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/addImage/AddTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/addImage/JMHAddImage.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/blackscholes/JMHBlackScholes.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/blurFilter/BlurFilterTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/blurFilter/JMHBlurFilter.java
+1 −1 ...o-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/convolvearray/ConvolveImageArrayTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/convolvearray/JMHConvolveArray.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/convolveimage/ConvolveImageTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/convolveimage/JMHConvolveImage.java
+2 −2 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/dft/DFTTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/dft/JMHDFT.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/dgemm/DgemmTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/dgemm/JMHGemm.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/dotimage/DotTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/dotimage/JMHDotImage.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/dotvector/DotTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/dotvector/JMHDotVector.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/euler/EulerTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/euler/JMHEuler.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/hilbert/HilbertTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/hilbert/JMHHilbert.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/juliaset/JMHJuliaSet.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/juliaset/JuliaSetTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/mandelbrot/JMHMandelbrot.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/mandelbrot/MandelbrotTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/montecarlo/JMHMontecarlo.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/montecarlo/MonteCarloTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/nbody/JMHNBody.java
+3 −3 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/nbody/NBodyTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/renderTrack/JMHRenderTrack.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/renderTrack/RenderTrackTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/rotateimage/JMHRotateImage.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/rotateimage/RotateTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/rotatevector/JMHRotateVector.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/rotatevector/RotateTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/saxpy/JMHSaxpy.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/saxpy/SaxpyTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/sgemm/JMHSgemm.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/sgemm/SgemmTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/sgemv/JMHSgemV.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/sgemv/SgemvTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/spmv/JMHSpmv.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/spmv/SpmvTornado.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/stencil/JMHStencil.java
+1 −1 tornado-benchmarks/src/main/java/uk/ac/manchester/tornado/benchmarks/stencil/StencilTornado.java
+1 −1 tornado-examples/src/main/java/uk/ac/manchester/tornado/examples/compute/MatrixMultiplication1D.java
+1 −1 tornado-examples/src/main/java/uk/ac/manchester/tornado/examples/compute/MatrixMultiplication2D.java
+1 −1 tornado-examples/src/main/java/uk/ac/manchester/tornado/examples/compute/MatrixVector.java
+1 −1 tornado-examples/src/main/java/uk/ac/manchester/tornado/examples/compute/NBody.java
+5 −5 tornado-examples/src/main/java/uk/ac/manchester/tornado/examples/vectors/DFTVector.java
+8 −8 tornado-examples/src/main/java/uk/ac/manchester/tornado/examples/vectors/MatrixVector.java
+4 −4 tornado-examples/src/main/java/uk/ac/manchester/tornado/examples/vectors/VectorAddTest.java
+2 −6 tornado-runtime/src/main/java/uk/ac/manchester/tornado/runtime/TornadoVM.java
+1 −1 tornado-runtime/src/main/java/uk/ac/manchester/tornado/runtime/interpreter/TornadoVMInterpreter.java
+1 −2 tornado-runtime/src/main/java/uk/ac/manchester/tornado/runtime/tasks/ReduceTaskGraph.java
+286 −527 tornado-runtime/src/main/java/uk/ac/manchester/tornado/runtime/tasks/TornadoTaskGraph.java
+1 −1 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/api/TestAPI.java
+5 −5 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/arrays/TestArrays.java
+13 −27 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/codegen/CodeGenTest.java
+99 −45 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/dynamic/TestDynamic.java
+2 −2 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/executor/TestExecutor.java
+1 −1 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/fails/TestFails.java
+1 −1 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/images/TestResizeImage.java
+1 −1 ...sts/src/main/java/uk/ac/manchester/tornado/unittests/kernelcontext/api/TestVectorAdditionKernelContext.java
+2 −2 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/matrices/TestMatrices.java
+1 −1 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/neurocom/TestCase.java
+97 −0 tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/warmup/TestWarmUp.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static TornadoVMMasterPlan initializeTornadoVMPlan(State state, Llama mod
}

// 2. Perform warmup with extra iterations to ensure JIT compilation is complete
tornadoVMPlan.executionPlan.withWarmUp(); // Increased warmup iterations
tornadoVMPlan.executionPlan.withPreCompilation(); // Force JIT compilation from Java to GPU code

// Record time after warmup
if (ENABLE_TORNADOVM_INIT_TIME) {
Expand Down