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/constants.h"
16 #include "oshmem/mca/spml/spml.h"
17 #include "ompi/datatype/ompi_datatype.h"
18
19 #if OSHMEM_PROFILING
20 #include "oshmem/shmem/fortran/profile/pbindings.h"
21 SHMEM_GENERATE_WEAK_BINDINGS(SHMEM_WAIT_UNTIL, shmem_wait_until)
22 #include "oshmem/shmem/fortran/profile/defines.h"
23 #endif
24
25 SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
26 SHMEM_WAIT_UNTIL,
27 shmem_wait_until_,
28 shmem_wait_until__,
29 shmem_wait_until_f,
30 (ompi_fortran_integer_t *var, MPI_Fint *cmp, ompi_fortran_integer_t *value),
31 (var,cmp,value))
32
33 void shmem_wait_until_f(ompi_fortran_integer_t *var, MPI_Fint *cmp, ompi_fortran_integer_t *value)
34 {
35 MCA_SPML_CALL(wait((void*)var,
36 OMPI_FINT_2_INT(*cmp),
37 (void*)value,
38 SHMEM_FINT));
39 }
40