diff --git a/Grid/communicator/SharedMemoryMPI.cc b/Grid/communicator/SharedMemoryMPI.cc index 01921f94..2600ce9c 100644 --- a/Grid/communicator/SharedMemoryMPI.cc +++ b/Grid/communicator/SharedMemoryMPI.cc @@ -39,9 +39,11 @@ Author: Christoph Lehner #include #endif #ifdef GRID_SYCL +#ifdef ACCELERATOR_AWARE_MPI #define GRID_SYCL_LEVEL_ZERO_IPC +#define SHM_SOCKETS +#endif #include -#define SHM_SOCKETS #endif #include