From 2229c8f98b5b770a3fc850c4a5ce8d2e1b88f71a Mon Sep 17 00:00:00 2001 From: gnumlab Date: Fri, 30 May 2025 10:46:44 +0200 Subject: [PATCH] now CUDA is turned off if IPK is set to 8 --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 537f5632..9910c612 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -654,6 +654,13 @@ endif() # Optionally check for CUDA requirement option(PSB_BUILD_CUDA "Build CUDA code" OFF) + +if(IPK_SIZE EQUAL 8) + set(PSB_BUILD_CUDA OFF) + message(STATUS "IPK8 is not compatible with CUDA. Cuda is now OFF ${PSB_BUILD_CUDA}") +endif() + + if(PSB_BUILD_CUDA) if(NOT DEFINED PSB_CUDA_PATH)