Skip to content

Commit

Permalink
Tacho : require RocBLAS, RocSparse, and RocSolver for HIP backend
Browse files Browse the repository at this point in the history
Signed-off-by: iyamazaki <[email protected]>
  • Loading branch information
iyamazaki committed Dec 2, 2024
1 parent 3e1b187 commit 656000e
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.")
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 656000e

Please sign in to comment.