Skip to content
Snippets Groups Projects
Commit b0fc8578 authored by Your Name's avatar Your Name
Browse files

Fixing OpenMP with HIP

parent 62510ca1
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,9 @@ find_package(MPI REQUIRED)
find_package(HDF5 REQUIRED)
find_package(TinyObjLoader)
find_package(PETSc)
find_package(OpenMP)
if (NOT CUDA_ON_BACKEND STREQUAL "HIP")
find_package(OpenMP)
endif()
if (CUDA_ON_BACKEND STREQUAL "HIP" AND NOT HIP_FOUND)
find_package(HIP)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment