Commit 368cb4cc authored by incardon's avatar incardon
Browse files

Fixing compilation with mpi wrappers

parent 0d505538
Pipeline #2958 failed with stages
in 14 seconds
......@@ -50,6 +50,10 @@ find_package(HIP)
if(HIP_FOUND)
set(DEFINE_HIP_GPU "#define HIP_GPU")
set(DEFINE_CUDIFY_USE_HIP "#define CUDIFY_USE_HIP")
else
#if not HIP we set the MPI wrappers
set(CMAKE_C_COMPILER mpicc)
set(CMAKE_CXX_COMPILER mpic++)
endif()
if(HIP_FOUND)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment