Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
fompi_wrapper.h
Go to the documentation of this file.
1 #ifndef __FOMPI_WRAPPER__
2 #define __FOMPI_WRAPPER__
3 
4 #ifdef USE_FOMPI
5 #include <fompi.h>
6 
7 typedef foMPI_Win CTF_Win;
8 #define MPI_Init(...) foMPI_Init(__VA_ARGS__)
9 #define MPI_Win_create(...) foMPI_Win_create(__VA_ARGS__)
10 #define MPI_Win_fence(...) foMPI_Win_fence(__VA_ARGS__)
11 #define MPI_Win_free(...) foMPI_Win_free(__VA_ARGS__)
12 #define MPI_Put(...) foMPI_Put(__VA_ARGS__)
13 #else
14 #include <mpi.h>
15 typedef MPI_Win CTF_Win;
16 #endif
17 
18 #endif
MPI_Win CTF_Win
Definition: fompi_wrapper.h:15