mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-16 10:52:08 +00:00
now CUDA is turned off if IPK is set to 8
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user