Skip to content

Commit

Permalink
Merge pull request #13642 from iyamazaki/tacho-tpls
Browse files Browse the repository at this point in the history
Tacho : require RocBLAS, RocSparse, and RocSolver for HIP backend
  • Loading branch information
iyamazaki authored Dec 3, 2024
2 parents dc17e77 + 9fdb887 commit 3acb4c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/shylu/shylu_node/tacho/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ IF (Kokkos_ENABLE_CUDA)
ENDIF()
ENDIF()

IF (Kokkos_ENABLE_HIP)
IF (NOT (TPL_ENABLE_ROCBLAS AND TPL_ENABLE_ROCSPARSE AND TPL_ENABLE_ROCSOLVER))
MESSAGE(FATAL_ERROR "Tacho can not be build with HIP without enabling ROCBLAS, ROCSPARSE, and ROCSOLVER TPLs. Please disable Tacho, or enable these three TPLs")
ENDIF()
ENDIF()

IF (Kokkos_ENABLE_THREADS)
IF (NOT Kokkos_ENABLE_OPENMP)
MESSAGE(FATAL_ERROR "Tacho can not be build with Pthreads as the Kokkos Host Backend.")
Expand Down

0 comments on commit 3acb4c9

Please sign in to comment.