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/shmem/shmem_api_logger.h"
16 #include "stdio.h"
17
18 #if OSHMEM_PROFILING
19 #include "oshmem/shmem/fortran/profile/pbindings.h"
20 SHMEM_GENERATE_WEAK_BINDINGS(SHMEM_PE_ACCESSIBLE, shmem_pe_accessible)
21 #include "oshmem/shmem/fortran/profile/defines.h"
22 #endif
23
24 SHMEM_GENERATE_FORTRAN_BINDINGS_FUNCTION (ompi_fortran_logical_t,
25 SHMEM_PE_ACCESSIBLE,
26 shmem_pe_accessible_,
27 shmem_pe_accessible__,
28 shmem_pe_accessible_f,
29 (MPI_Fint *pe),
30 (pe) )
31
32 ompi_fortran_logical_t shmem_pe_accessible_f(MPI_Fint *pe)
33 {
34 return OMPI_INT_2_LOGICAL(shmem_pe_accessible(OMPI_FINT_2_INT(*pe)));
35 }
36