Explicitly require rocPRIM and rocThrust.

[ROCm/rocshmem commit: 50e46847c6]
这个提交包含在:
Yiltan Temucin 于 2024-11-19 08:54:18 -06:00 提交
1 父节点 eebb42950a
当前提交 5ed5c4642e
1 个文件已更改
+5
@@ -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
)