Skip to content

Commit

Permalink
Set minimum rocsparse version in CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Rbiessy committed Dec 17, 2024
1 parent b878516 commit 7a02a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparse_blas/backends/rocsparse/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ target_include_directories(${LIB_OBJ}
target_compile_options(${LIB_OBJ} PRIVATE ${ONEMATH_BUILD_COPT})

find_package(HIP REQUIRED)
find_package(rocsparse REQUIRED)
find_package(rocsparse 3.1.2 REQUIRED) # ROCm 6.1.0 or above

target_link_libraries(${LIB_OBJ} PRIVATE hip::host roc::rocsparse)

Expand Down

0 comments on commit 7a02a46

Please sign in to comment.