Skip to content

Commit eeab11d

Browse files
committed
remove architectures spec
1 parent a831990 commit eeab11d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ if (CUPDLP_GPU)
133133

134134
set (CUPDLP_CPU OFF)
135135

136+
enable_language(CUDA)
137+
136138
# With FindCUDAConf.cmake
137139
# default cuda_home on linux
138140
# set(CUDA_HOME "/usr/local/cuda" CACHE STRING "Cuda path to install")

src/pdlp/cupdlp/cuda/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ add_library(cudalin SHARED
88
)
99
set_target_properties(cudalin PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
1010

11-
set_target_properties(cudalin PROPERTIES CUDA_ARCHITECTURES native)
11+
# set_target_properties(cudalin PROPERTIES CUDA_ARCHITECTURES native)
1212

1313
target_include_directories(cudalin PUBLIC "${CMAKE_CUDA_PATH}/include")
1414

0 commit comments

Comments
 (0)