From 45933c6008909aed66ae35f46be10c517bf2c8ab Mon Sep 17 00:00:00 2001 From: brian Date: Sat, 2 Sep 2023 16:16:11 +0200 Subject: [PATCH] Reorganising build.gradle for CUDA 12 Signed-off-by: brian --- .gitea/workflows/demo.yaml | 2 +- .../src/main/java/org/nd4j/nativeblas/cuda/Nd4jCudaPresets.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 74d64ad8e..770b08d33 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -65,7 +65,7 @@ jobs: -PossrhUsername=${{ secrets.OSSRHUSERNAME }} \ -PossrhPassword=${{ secrets.OSSRHPASSWORD }} \ -PCAVIS_CHIP=cpu,cuda -Pskip-native=false \ - 2>&1 > buildlog.log + >buildlog.log 2>&1 - name: Upload log uses: actions/upload-artifact@v3 diff --git a/cavis-native/cavis-native-cuda-presets/src/main/java/org/nd4j/nativeblas/cuda/Nd4jCudaPresets.java b/cavis-native/cavis-native-cuda-presets/src/main/java/org/nd4j/nativeblas/cuda/Nd4jCudaPresets.java index b821f13c4..7becaf77a 100644 --- a/cavis-native/cavis-native-cuda-presets/src/main/java/org/nd4j/nativeblas/cuda/Nd4jCudaPresets.java +++ b/cavis-native/cavis-native-cuda-presets/src/main/java/org/nd4j/nativeblas/cuda/Nd4jCudaPresets.java @@ -129,7 +129,7 @@ import java.util.List; }, compiler = {"cpp11", "nowarnings"}, library = "jnind4jcuda", - link = "nd4jcuda"), + link = {"nd4jcuda"}), //preload = "nd4jcuda"), @Platform(value = "linux", preload = "gomp@.1", preloadpath = {"/lib64/", "/lib/", "/usr/lib64/", "/usr/lib/", "/usr/local/cuda/lib64"}),