1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

Acclerator ware MPI guard on the Unix domain sockets

This commit is contained in:
Peter Boyle 2024-03-26 14:41:25 +00:00
parent 49e9e4ed0e
commit aa96f420c6

View File

@ -39,9 +39,11 @@ Author: Christoph Lehner <christoph@lhnr.de>
#include <hip/hip_runtime_api.h> #include <hip/hip_runtime_api.h>
#endif #endif
#ifdef GRID_SYCL #ifdef GRID_SYCL
#ifdef ACCELERATOR_AWARE_MPI
#define GRID_SYCL_LEVEL_ZERO_IPC #define GRID_SYCL_LEVEL_ZERO_IPC
#define SHM_SOCKETS
#endif
#include <syscall.h> #include <syscall.h>
#define SHM_SOCKETS
#endif #endif
#include <sys/socket.h> #include <sys/socket.h>