Skip to content

Commit c1493e1

Browse files
committed
windows clean up
1 parent b0cd43a commit c1493e1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

check/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ if ((NOT FAST_BUILD OR ALL_TESTS) AND NOT (BUILD_EXTRA_UNIT_ONLY))
337337
else()
338338
if (CUPDLP_GPU)
339339
set(pdlpInstances
340-
"25fv47\; 5.5018549\;"
340+
"25fv47\; 5.50185\;" # 549 release 500 debug
341341
"adlittle\; 2.2549505\;"
342342
"afiro\;-4.6475325\;"
343343
"avgas\;-7.750000\;"
@@ -346,7 +346,7 @@ if ((NOT FAST_BUILD OR ALL_TESTS) AND NOT (BUILD_EXTRA_UNIT_ONLY))
346346
"scrs8\; 9.0429693\;"
347347
"sctest\; 5.7500000\;"
348348
"shell\; 1.20882535\;"
349-
"stair\;-2.5126696\;"
349+
"stair\;-2.5126696\;" # 96 release 95 debug
350350
"standata\; 1.2576995\;"
351351
"standgub\; 1.2576993\;"
352352
)

src/pdlp/cupdlp/cuda/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ set_target_properties(cudalin PROPERTIES CUDA_ARCHITECTURES native)
1212

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

15-
target_compile_definitions(cudalin
16-
PUBLIC
17-
# If the debug configuration pass the DEBUG define to the compiler
18-
$<$<CONFIG:Debug>:-DCUPDLP_DEBUG=1>
19-
)
2015

2116
if (WIN32)
2217
target_link_libraries(cudalin ${CUDA_LIBRARY})
2318
else()
19+
target_compile_definitions(cudalin
20+
PUBLIC
21+
# If the debug configuration pass the DEBUG define to the compiler
22+
$<$<CONFIG:Debug>:-DCUPDLP_DEBUG=1>
23+
)
2424
target_link_libraries(cudalin ${CUDA_LIBRARY} m)
2525
endif()
2626

0 commit comments

Comments
 (0)