mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-21 08:54:08 -06:00
Add cmake message if not hipifying due to version
This commit is contained in:
parent
69a45b632e
commit
60359268fd
@ -46,6 +46,8 @@ if (CONVERT_CUDA_TO_HIP AND CMAKE_VERSION VERSION_GREATER_EQUAL "3.21")
|
||||
find_package(hipsparse REQUIRED)
|
||||
find_package(hipblas REQUIRED)
|
||||
link_libraries(roc::hipblas roc::hipsparse)
|
||||
elseif(CONVERT_CUDA_TO_HIP)
|
||||
message("To generate HIP code for AMD GPUs run CMake with version >= 3.21")
|
||||
endif()
|
||||
|
||||
# The following was copied from CMakeLists.txt in opm-common.
|
||||
|
Loading…
Reference in New Issue
Block a user