|
| 1 | +/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ |
1 | 2 | /* |
2 | 3 | * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana |
3 | 4 | * University Research and Technology |
|
10 | 11 | * Copyright (c) 2004-2005 The Regents of the University of California. |
11 | 12 | * All rights reserved. |
12 | 13 | * Copyright (c) 2006-2012 Cisco Systems, Inc. All rights reserved. |
| 14 | + * Copyright (c) 2015 Los Alamos National Security, LLC. All rights |
| 15 | + * reserved. |
13 | 16 | * $COPYRIGHT$ |
14 | 17 | * |
15 | 18 | * Additional copyrights may follow |
@@ -44,6 +47,16 @@ OMPI_DECLSPEC void mpi_wtick_f90(double *w); |
44 | 47 | OMPI_DECLSPEC void mpi_wtick_f90_(double *w); |
45 | 48 | OMPI_DECLSPEC void mpi_wtick_f90__(double *w); |
46 | 49 |
|
| 50 | +OMPI_DECLSPEC void MPI_AINT_ADD_F90(MPI_Aint *base, MPI_Aint *diff, MPI_Aint *w); |
| 51 | +OMPI_DECLSPEC void mpi_aint_add_f90(MPI_Aint *base, MPI_Aint *diff, MPI_Aint *w); |
| 52 | +OMPI_DECLSPEC void mpi_aint_add_f90_(MPI_Aint *base, MPI_Aint *diff, MPI_Aint *w); |
| 53 | +OMPI_DECLSPEC void mpi_aint_add_f90__(MPI_Aint *base, MPI_Aint *diff, MPI_Aint *w); |
| 54 | + |
| 55 | +OMPI_DECLSPEC void MPI_AINT_DIFF_F90(MPI_Aint *addr1, MPI_Aint *addr2, MPI_Aint *w); |
| 56 | +OMPI_DECLSPEC void mpi_aint_diff_f90(MPI_Aint *addr1, MPI_Aint *addr2, MPI_Aint *w); |
| 57 | +OMPI_DECLSPEC void mpi_aint_diff_f90_(MPI_Aint *addr1, MPI_Aint *addr2, MPI_Aint *w); |
| 58 | +OMPI_DECLSPEC void mpi_aint_diff_f90__(MPI_Aint *addr1, MPI_Aint *addr2, MPI_Aint *w); |
| 59 | + |
47 | 60 | /**********************************************************************/ |
48 | 61 |
|
49 | 62 | void MPI_WTIME_F90(double *w) |
@@ -88,3 +101,47 @@ void mpi_wtick_f90__(double *w) |
88 | 101 | *w = MPI_Wtick(); |
89 | 102 | } |
90 | 103 |
|
| 104 | +/**********************************************************************/ |
| 105 | + |
| 106 | +void MPI_AINT_ADD_F90(MPI_Aint *base, MPI_Aint *diff, MPI_Aint *w) |
| 107 | +{ |
| 108 | + *w = MPI_Aint_add (*base, *diff); |
| 109 | +} |
| 110 | + |
| 111 | +void mpi_aint_add_f90(MPI_Aint *base, MPI_Aint *diff, MPI_Aint *w) |
| 112 | +{ |
| 113 | + *w = MPI_Aint_add (*base, *diff); |
| 114 | +} |
| 115 | + |
| 116 | +void mpi_aint_add_f90_(MPI_Aint *base, MPI_Aint *diff, MPI_Aint *w) |
| 117 | +{ |
| 118 | + *w = MPI_Aint_add (*base, *diff); |
| 119 | +} |
| 120 | + |
| 121 | +void mpi_aint_add_f90__(MPI_Aint *base, MPI_Aint *diff, MPI_Aint *w) |
| 122 | +{ |
| 123 | + *w = MPI_Aint_add (*base, *diff); |
| 124 | +} |
| 125 | + |
| 126 | + |
| 127 | +/**********************************************************************/ |
| 128 | + |
| 129 | +void MPI_AINT_DIFF_F90(MPI_Aint *addr1, MPI_Aint *addr2, MPI_Aint *w) |
| 130 | +{ |
| 131 | + *w = MPI_Aint_diff (*addr1, *addr2); |
| 132 | +} |
| 133 | + |
| 134 | +void mpi_aint_diff_f90(MPI_Aint *addr1, MPI_Aint *addr2, MPI_Aint *w) |
| 135 | +{ |
| 136 | + *w = MPI_Aint_diff (*addr1, *addr2); |
| 137 | +} |
| 138 | + |
| 139 | +void mpi_aint_diff_f90_(MPI_Aint *addr1, MPI_Aint *addr2, MPI_Aint *w) |
| 140 | +{ |
| 141 | + *w = MPI_Aint_diff (*addr1, *addr2); |
| 142 | +} |
| 143 | + |
| 144 | +void mpi_aint_diff_f90__(MPI_Aint *addr1, MPI_Aint *addr2, MPI_Aint *w) |
| 145 | +{ |
| 146 | + *w = MPI_Aint_diff (*addr1, *addr2); |
| 147 | +} |
0 commit comments