Skip to content

Commit 2ce1e88

Browse files
committed
FindCUDAConf OK locally
1 parent 98fdd06 commit 2ce1e88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ message(STATUS "Build pdlp with GPU: ${CUPDLP_GPU}")
121121
option(CUPDLP_FIND_CUDA "Build pdlp with GPU" OFF)
122122
message(STATUS "Use FindCUDAConf: ${CUPDLP_FIND_CUDA}")
123123

124-
if(CUPDLP_GPU AND CMAKE_VERSION VERSION_LESS "3.25.0")
124+
if(CUPDLP_GPU AND CMAKE_VERSION VERSION_LESS "3.25.0")
125125
message("CUPDLP FindCUDAConf requires CMake version minumum 3.24. Please use a higher version of CMake.")
126126
endif()
127127

@@ -141,7 +141,7 @@ if (CUPDLP_GPU)
141141
if (CUPDLP_FIND_CUDA)
142142
# With FindCUDAConf.cmake
143143
# Need to have the CUDA_HOME environment variable set.
144-
include(FindCUDAConf.cmake)
144+
include(FindCUDAConf)
145145
else()
146146
# Without FindCUDAConf.cmake
147147
enable_language(CUDA)

src/pdlp/cupdlp/cupdlp_solver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ cupdlp_retcode PDHG_Solve(CUPDLPwork *pdhg) {
11741174
#endif
11751175

11761176
#ifndef CUPDLP_CPU
1177-
if (pdhg->settings->nLogLevel>1) {
1177+
if (pdhg->settings->nLogLevel>0) {
11781178
cupdlp_printf("\n");
11791179
cupdlp_printf("GPU Timing information:\n");
11801180
cupdlp_printf("%21s %e\n", "CudaPrepare", timers->CudaPrepareTime);

0 commit comments

Comments
 (0)