From 260c78de18a7992cec85b058d5a5c77839c6a40d Mon Sep 17 00:00:00 2001 From: Thanos Stratikopoulos Date: Thu, 21 Mar 2024 19:02:48 +0200 Subject: [PATCH 1/5] [feat] Add module visibility for graalvm collections --- tornado-runtime/src/main/java/module-info.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tornado-runtime/src/main/java/module-info.java b/tornado-runtime/src/main/java/module-info.java index c3b7a993df..a712970f34 100644 --- a/tornado-runtime/src/main/java/module-info.java +++ b/tornado-runtime/src/main/java/module-info.java @@ -1,6 +1,7 @@ open module tornado.runtime { requires java.logging; requires jdk.unsupported; + requires org.graalvm.collections; requires transitive jdk.internal.vm.ci; requires transitive jdk.internal.vm.compiler; From 349fdb0bda0436f3093331f09e681144bed7f985 Mon Sep 17 00:00:00 2001 From: Thanos Stratikopoulos Date: Thu, 21 Mar 2024 19:18:31 +0200 Subject: [PATCH 2/5] [feat] Add module visibility for graalvm collections --- tornado-drivers/opencl/src/main/java/module-info.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tornado-drivers/opencl/src/main/java/module-info.java b/tornado-drivers/opencl/src/main/java/module-info.java index e2a199475f..c27ff7a49f 100644 --- a/tornado-drivers/opencl/src/main/java/module-info.java +++ b/tornado-drivers/opencl/src/main/java/module-info.java @@ -1,6 +1,7 @@ module tornado.drivers.opencl { requires transitive jdk.internal.vm.ci; requires transitive jdk.internal.vm.compiler; + requires transitive org.graalvm.collections; requires transitive tornado.api; requires transitive tornado.runtime; requires tornado.drivers.common; From 8d1cac1739ae2d235c9ec5fde152b63ea94f7cfc Mon Sep 17 00:00:00 2001 From: Thanos Stratikopoulos Date: Thu, 21 Mar 2024 20:06:08 +0200 Subject: [PATCH 3/5] [feat] Add module visibility for graalvm collections --- tornado-drivers/opencl/src/main/java/module-info.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tornado-drivers/opencl/src/main/java/module-info.java b/tornado-drivers/opencl/src/main/java/module-info.java index c27ff7a49f..ae5edb33ac 100644 --- a/tornado-drivers/opencl/src/main/java/module-info.java +++ b/tornado-drivers/opencl/src/main/java/module-info.java @@ -2,6 +2,7 @@ requires transitive jdk.internal.vm.ci; requires transitive jdk.internal.vm.compiler; requires transitive org.graalvm.collections; + requires transitive org.graalvm.word; requires transitive tornado.api; requires transitive tornado.runtime; requires tornado.drivers.common; From 1a6aaf0c432b795f5fd94cfbdfa5f07496334920 Mon Sep 17 00:00:00 2001 From: Thanos Stratikopoulos Date: Fri, 29 Mar 2024 11:08:28 +0200 Subject: [PATCH 4/5] [fix] Add module visibility in PTX driver for graalvm collections --- tornado-drivers/ptx/src/main/java/module-info.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tornado-drivers/ptx/src/main/java/module-info.java b/tornado-drivers/ptx/src/main/java/module-info.java index 1c1aa4b63f..66fc4b7a81 100644 --- a/tornado-drivers/ptx/src/main/java/module-info.java +++ b/tornado-drivers/ptx/src/main/java/module-info.java @@ -3,6 +3,8 @@ module tornado.drivers.ptx { requires transitive jdk.internal.vm.ci; requires transitive jdk.internal.vm.compiler; + requires transitive org.graalvm.collections; + requires transitive org.graalvm.word; requires transitive tornado.api; requires transitive tornado.runtime; requires tornado.drivers.common; From 6481642fe661692348486d4c891546006d0a7ad4 Mon Sep 17 00:00:00 2001 From: Thanos Stratikopoulos Date: Fri, 29 Mar 2024 12:31:03 +0200 Subject: [PATCH 5/5] [style] Resolve space characters --- tornado-runtime/src/main/java/module-info.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tornado-runtime/src/main/java/module-info.java b/tornado-runtime/src/main/java/module-info.java index a25134d084..e0063d735c 100644 --- a/tornado-runtime/src/main/java/module-info.java +++ b/tornado-runtime/src/main/java/module-info.java @@ -2,8 +2,8 @@ open module tornado.runtime{requires java.logging;requires jdk.unsupported;requires org.graalvm.collections; - requires transitive jdk.internal.vm.ci;requires transitive jdk.internal.vm.compiler;requires transitive tornado.api; +requires transitive jdk.internal.vm.ci;requires transitive jdk.internal.vm.compiler;requires transitive tornado.api; - exports uk.ac.manchester.tornado.runtime;exports uk.ac.manchester.tornado.runtime.analyzer;exports uk.ac.manchester.tornado.runtime.common;exports uk.ac.manchester.tornado.runtime.common.enums;exports uk.ac.manchester.tornado.runtime.common.exceptions;exports uk.ac.manchester.tornado.runtime.directives;exports uk.ac.manchester.tornado.runtime.domain;exports uk.ac.manchester.tornado.runtime.graal;exports uk.ac.manchester.tornado.runtime.graal.backend;exports uk.ac.manchester.tornado.runtime.graal.compiler;exports uk.ac.manchester.tornado.runtime.graal.nodes;exports uk.ac.manchester.tornado.runtime.graal.nodes.logic;exports uk.ac.manchester.tornado.runtime.graal.nodes.calc;exports uk.ac.manchester.tornado.runtime.graal.phases;exports uk.ac.manchester.tornado.runtime.graph;exports uk.ac.manchester.tornado.runtime.graph.nodes;exports uk.ac.manchester.tornado.runtime.profiler;exports uk.ac.manchester.tornado.runtime.sketcher;exports uk.ac.manchester.tornado.runtime.tasks;exports uk.ac.manchester.tornado.runtime.tasks.meta;exports uk.ac.manchester.tornado.runtime.utils;exports uk.ac.manchester.tornado.runtime.graal.phases.sketcher;exports uk.ac.manchester.tornado.runtime.graal.nodes.interfaces; +exports uk.ac.manchester.tornado.runtime;exports uk.ac.manchester.tornado.runtime.analyzer;exports uk.ac.manchester.tornado.runtime.common;exports uk.ac.manchester.tornado.runtime.common.enums;exports uk.ac.manchester.tornado.runtime.common.exceptions;exports uk.ac.manchester.tornado.runtime.directives;exports uk.ac.manchester.tornado.runtime.domain;exports uk.ac.manchester.tornado.runtime.graal;exports uk.ac.manchester.tornado.runtime.graal.backend;exports uk.ac.manchester.tornado.runtime.graal.compiler;exports uk.ac.manchester.tornado.runtime.graal.nodes;exports uk.ac.manchester.tornado.runtime.graal.nodes.logic;exports uk.ac.manchester.tornado.runtime.graal.nodes.calc;exports uk.ac.manchester.tornado.runtime.graal.phases;exports uk.ac.manchester.tornado.runtime.graph;exports uk.ac.manchester.tornado.runtime.graph.nodes;exports uk.ac.manchester.tornado.runtime.profiler;exports uk.ac.manchester.tornado.runtime.sketcher;exports uk.ac.manchester.tornado.runtime.tasks;exports uk.ac.manchester.tornado.runtime.tasks.meta;exports uk.ac.manchester.tornado.runtime.utils;exports uk.ac.manchester.tornado.runtime.graal.phases.sketcher;exports uk.ac.manchester.tornado.runtime.graal.nodes.interfaces; - uses TornadoBackendProvider;} +uses TornadoBackendProvider;}