Skip to content

Commit

Permalink
HiGHS compiling, error in cuda code: propagate updates from cuPDLP-c
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed Feb 3, 2025
1 parent f54c98f commit ef08a96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,12 @@ if(MSVC)

# Try to split large pdb files into objects.
# https://github.com/tensorflow/tensorflow/issues/31610
add_compile_options("/Z7")
add_link_options("/DEBUG:FASTLINK")
# add_compile_options("/Z7")
# add_link_options("/DEBUG:FASTLINK")

add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:/Z7>")
add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:/DEBUG:FASTLINK>")

if(STDCALL)
# /Gz - stdcall calling convention
add_definitions(/Gz)
Expand Down
4 changes: 3 additions & 1 deletion FindCUDAConf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ enable_language(CUDA)
# set(CUDA_HOME "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.6")
# find_package(CUDAToolkit HINTS "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.6")

message(NOTICE " - HINTTTT Home detected ${CMAKE_CUDA_PATH}/lib/x64/")

find_library(CUDA_LIBRARY_ART
NAMES cudart
HINTS "${CMAKE_CUDA_PATH}/lib64/"
Expand All @@ -37,7 +39,7 @@ if (${CUDA_LIBRARY-NOTFOUND})
ARNING " - CUDA Libraries not detected at ${CUDA_HOME}")
else ()
message(NOTICE " - CUDA Libraries detected at ${CUDA_HOME}")
set(CUDA_LIBRARY ${CUDA_LIBRARY_ART} ${CUDA_LIBRARY_SPS} ${CUDCUDA_HOMEA_LIBRARY_BLS})
set(CUDA_LIBRARY ${CUDA_LIBRARY_ART} ${CUDA_LIBRARY_SPS} ${CUDA_LIBRARY_BLS})
# set(CUDA_LIBRARY CUDA::cudart CUDA::cusparse CUDA::cublas)
message(NOTICE " - :${CUDA_LIBRARY}")
endif ()
Expand Down

0 comments on commit ef08a96

Please sign in to comment.