Skip to content

Commit

Permalink
Check minimum HIP version in cmake, version 6.1 required
Browse files Browse the repository at this point in the history
  • Loading branch information
loostrum committed Jul 19, 2024
1 parent 21ba350 commit 047d940
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/cudawrappers-dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ if(${CUDAWRAPPERS_BACKEND_HIP})

# Step 4.
list(APPEND CMAKE_PREFIX_PATH ${HIP_ROOT_DIR})
find_package(hip REQUIRED)
set(HIP_MIN_VERSION 6.1)
find_package(hip ${HIP_MIN_VERSION} REQUIRED)
find_package(hipfft REQUIRED)
else()
# cudawrappers requires the CUDA Toolkit.If you include cudawrappers in your
Expand Down

0 comments on commit 047d940

Please sign in to comment.