Explicitly require rocPRIM and rocThrust.

이 커밋은 다음에 포함됨:
Yiltan Temucin가 2024-11-19 08:54:18 -06:00를 커밋했습니다
1 부모 4ad24b5aab
커밋 50e46847c6
1 파일이 변경됨
+5
+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
)