From: Bruno Turcksin Date: Mon, 15 Jan 2018 20:54:21 +0000 (-0500) Subject: Add cuSPARSE support in the build system X-Git-Tag: v9.0.0-rc1~559^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4a6c407255c45a82171e6a2f39103c6c32467ad;p=dealii.git Add cuSPARSE support in the build system --- diff --git a/cmake/modules/FindCUDA.cmake b/cmake/modules/FindCUDA.cmake index a093d6e0d8..735f23f024 100644 --- a/cmake/modules/FindCUDA.cmake +++ b/cmake/modules/FindCUDA.cmake @@ -43,7 +43,7 @@ IF(CUDA_FOUND) MESSAGE(STATUS "Configured to use CUDA installation at ${CUDA_TOOLKIT_ROOT_DIR}") ENDIF() -SET(_cuda_libraries ${CUDA_LIBRARIES}) +SET(_cuda_libraries ${CUDA_LIBRARIES} ${CUDA_cusparse_LIBRARY}) SET(_cuda_include_dirs ${CUDA_INCLUDE_DIRS}) DEAL_II_PACKAGE_HANDLE(CUDA LIBRARIES REQUIRED _cuda_libraries @@ -58,7 +58,6 @@ DEAL_II_PACKAGE_HANDLE(CUDA CUDA_cupti_LIBRARY CUDA_curand_LIBRARY CUDA_cusolver_LIBRARY - CUDA_cusparse_LIBRARY CUDA_HOST_COMPILER CUDA_nppc_LIBRARY CUDA_nppi_LIBRARY