]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add cuSPARSE support in the build system 5735/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Jan 2018 20:54:21 +0000 (15:54 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Jan 2018 20:54:21 +0000 (15:54 -0500)
cmake/modules/FindCUDA.cmake

index a093d6e0d898cd5cadf846199bcec974eb1f17b0..735f23f0248bb9a8a31409847f17e26839ddaf73 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.