Skip to content

Commit 1d962c4

Browse files
mikepapadimCopilot
andauthored
Update src/main/java/com/example/tornadovm/TornadoVMMasterPlan.java
Co-authored-by: Copilot <[email protected]>
1 parent cde76dc commit 1d962c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static TornadoVMMasterPlan initializeTornadoVMPlan(State state, Model mod
100100
* @param model the model whose type may affect the scheduler decision
101101
* @return {@code true} if the NVIDIA-specific scheduler should be used; {@code false} otherwise
102102
*/
103-
public boolean shouldUseNvidiaScheduler(Model model) {
103+
public static boolean shouldUseNvidiaScheduler(Model model) {
104104
TornadoRuntime runtime = TornadoRuntimeProvider.getTornadoRuntime();
105105
String platformName = runtime.getBackend(0).getDefaultDevice().getPlatformName().toLowerCase(Locale.ROOT);
106106

0 commit comments

Comments
 (0)