Explicitly require rocPRIM and rocThrust.

This commit is contained in:
Yiltan Temucin
2024-11-14 15:34:33 -06:00
parent 4ad24b5aab
commit 50e46847c6
+5
View File
@@ -115,6 +115,10 @@ target_link_libraries(
###############################################################################
# GTEST DEPENDENCY
###############################################################################
# These packages are required for the unit tests
find_package(rocprim REQUIRED CONFIG PATHS "${ROCM_PATH}/include/rocprim")
find_package(rocthrust REQUIRED CONFIG PATHS "${ROCM_PATH}/include/rocthrust")
include(FetchContent)
FetchContent_Declare(
@@ -135,4 +139,5 @@ target_link_libraries(
PRIVATE
gtest
gtest_main
roc::rocthrust
)