Skip to content
Snippets Groups Projects
Commit 368cb4cc authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing compilation with mpi wrappers

parent 0d505538
No related branches found
No related tags found
No related merge requests found
Pipeline #2958 failed
......@@ -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)
......
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