Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 009f1165 authored by hhadjdji's avatar hhadjdji
Browse files

Add cuSolver to linked libraries (needed for cuda SVD).

parent c624e9cd
Branches
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ endforeach()
cuda_add_library(gm SHARED ${LIB_SRC_FILES})
target_include_directories(gm PRIVATE ${CUDA_TOOLKIT_INCLUDE} ${CMAKE_CURRENT_BINARY_DIR} src $ENV{CUB_INC_PATH})
target_link_libraries(gm ${CUDA_cublas_LIBRARY} ${CUDA_cusparse_LIBRARY} ${CUDA_cudart_static_LIBRARY})
target_link_libraries(gm ${CUDA_cublas_LIBRARY} ${CUDA_cusparse_LIBRARY} ${CUDA_cudart_static_LIBRARY} ${CUDA_cusolver_LIBRARY})
if(WIN32)
target_compile_definitions(gm PRIVATE NOMINMAX)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment