From f6d6e2a81805738c46590ba265634d2755a45341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20=C3=9Clgen?= Date: Wed, 7 Feb 2024 12:07:40 +0000 Subject: [PATCH] OpenCL Test 1 --- .github/workflows/release.yml | 2 +- niftyreg_build_version.txt | 2 +- reg-lib/cuda/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6aea89ee..ad5509e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,7 +63,7 @@ jobs: -DBUILD_ALL_DEP=ON \ -DCHECK_GPU=OFF \ -DUSE_CUDA=${{ matrix.use-cuda }} \ - -DUSE_OPENCL=OFF \ + -DUSE_OPENCL=ON \ -DUSE_SSE=ON \ -DUSE_OPENMP=ON \ -DBUILD_TESTING=OFF \ diff --git a/niftyreg_build_version.txt b/niftyreg_build_version.txt index f1b1cb3a..ec8785ec 100644 --- a/niftyreg_build_version.txt +++ b/niftyreg_build_version.txt @@ -1 +1 @@ -404 +405 diff --git a/reg-lib/cuda/CMakeLists.txt b/reg-lib/cuda/CMakeLists.txt index 482a3c08..f98a0350 100755 --- a/reg-lib/cuda/CMakeLists.txt +++ b/reg-lib/cuda/CMakeLists.txt @@ -11,7 +11,7 @@ if(CHECK_GPU) message("The USE_CUDA flag has been turned OFF.") set(USE_CUDA OFF CACHE BOOL "To use the CUDA platform" FORCE) return() - # Check if the executable return failure + # Check if the executable return failure elseif(RUN_RESULT_VAR) message(WARNING "No CUDA-enabled card has been detected") message("Result code: ${RUN_RESULT_VAR}")