This source file includes following definitions.
- SHMEM_GENERATE_WEAK_BINDINGS
1
2
3
4
5
6
7
8
9
10
11
12 #include "oshmem_config.h"
13 #include "oshmem/shmem/fortran/bindings.h"
14 #include "oshmem/include/shmem.h"
15 #include "oshmem/mca/spml/spml.h"
16
17 #if OSHMEM_PROFILING
18 #include "oshmem/shmem/fortran/profile/pbindings.h"
19 SHMEM_GENERATE_WEAK_BINDINGS(SHMEM_FENCE, shmem_fence)
20 #include "oshmem/shmem/fortran/profile/defines.h"
21 #endif
22
23 SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
24 SHMEM_FENCE,
25 shmem_fence_,
26 shmem_fence__,
27 shmem_fence_f,
28 (void),
29 () )
30
31 void shmem_fence_f(void)
32 {
33 MCA_SPML_CALL(fence(oshmem_ctx_default));
34 }