Skip to content

Commit 90a719f

Browse files
authored
Merge pull request #13 from mikepapadim/feat/upgrade_warmup_api
[API] Update TornadoVM API to use latest warmup features
2 parents 994d5c3 + 94b4ec9 commit 90a719f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

external/tornadovm

Submodule tornadovm updated 77 files

src/main/java/com/example/tornadovm/TornadoVMMasterPlan.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static TornadoVMMasterPlan initializeTornadoVMPlan(State state, Llama mod
6666
}
6767

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

7171
// Record time after warmup
7272
if (ENABLE_TORNADOVM_INIT_TIME) {

0 commit comments

Comments
 (0)