AdjoinableMPI
|
#include <mpi.h>
#include "ampi/userIF/pairedWith.h"
#include "ampi/userIF/request.h"
#include "ampi/userIF/window.h"
#include "ampi/adTool/support.h"
Go to the source code of this file.
Functions | |
int | FW_AMPI_Recv (void *buf, int count, MPI_Datatype datatype, int src, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, MPI_Status *status) |
int | BW_AMPI_Recv (void *buf, int count, MPI_Datatype datatype, int src, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, MPI_Status *status) |
int | TLM_AMPI_Recv (void *buf, int count, MPI_Datatype datatype, int src, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, MPI_Status *status) |
int | TLS_AMPI_Recv (void *buf, void *shadowbuf, int count, MPI_Datatype datatype, MPI_Datatype shadowdatatype, int src, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, MPI_Status *status) |
int | FW_AMPI_Irecv (void *buf, int count, MPI_Datatype datatype, int source, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, AMPI_Request *request) |
int | BW_AMPI_Irecv (void *buf, int count, MPI_Datatype datatype, int source, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, AMPI_Request *request) |
int | TLM_AMPI_Irecv (void *buf, int count, MPI_Datatype datatype, int source, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, AMPI_Request *request) |
int | TLS_AMPI_Irecv (void *buf, void *shadowbuf, int count, MPI_Datatype datatype, MPI_Datatype shadowdatatype, int source, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, AMPI_Request *request) |
int | FW_AMPI_Send (void *buf, int count, MPI_Datatype datatype, int dest, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm) |
int | BW_AMPI_Send (void *buf, int count, MPI_Datatype datatype, int dest, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm) |
int | TLM_AMPI_Send (void *buf, int count, MPI_Datatype datatype, int dest, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm) |
int | TLS_AMPI_Send (void *buf, void *shadowbuf, int count, MPI_Datatype datatype, MPI_Datatype shadowdatatype, int dest, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm) |
int | FW_AMPI_Isend (void *buf, int count, MPI_Datatype datatype, int dest, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, AMPI_Request *request) |
int | BW_AMPI_Isend (void *buf, int count, MPI_Datatype datatype, int dest, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, AMPI_Request *request) |
int | TLM_AMPI_Isend (void *buf, int count, MPI_Datatype datatype, int dest, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, AMPI_Request *request) |
int | TLS_AMPI_Isend (void *buf, void *shadowbuf, int count, MPI_Datatype datatype, MPI_Datatype shadowdatatype, int dest, int tag, AMPI_PairedWith pairedWith, MPI_Comm comm, AMPI_Request *request) |
int | FW_AMPI_Wait (AMPI_Request *request, MPI_Status *status) |
int | BW_AMPI_Wait (AMPI_Request *request, MPI_Status *status) |
int | TLM_AMPI_Wait (AMPI_Request *request, MPI_Status *status) |
int | TLS_AMPI_Wait (AMPI_Request *request, MPI_Status *status) |
int | FW_AMPI_Barrier (MPI_Comm comm) |
int | BW_AMPI_Barrier (MPI_Comm comm) |
int | TLM_AMPI_Barrier (MPI_Comm comm) |
int | TLS_AMPI_Barrier (MPI_Comm comm) |
int | FW_AMPI_Gather (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | BW_AMPI_Gather (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | TLM_AMPI_Gather (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | FW_AMPI_Scatter (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | BW_AMPI_Scatter (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | TLM_AMPI_Scatter (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | FW_AMPI_Allgather (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) |
int | BW_AMPI_Allgather (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) |
int | TLM_AMPI_Allgather (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) |
int | FW_AMPI_Gatherv (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int *recvcnts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | BW_AMPI_Gatherv (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int *recvcnts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | TLM_AMPI_Gatherv (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int *recvcnts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | FW_AMPI_Scatterv (void *sendbuf, int *sendcnts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | BW_AMPI_Scatterv (void *sendbuf, int *sendcnts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | TLM_AMPI_Scatterv (void *sendbuf, int *sendcnts, int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root, MPI_Comm comm) |
int | FW_AMPI_Allgatherv (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int *recvcnts, int *displs, MPI_Datatype recvtype, MPI_Comm comm) |
int | BW_AMPI_Allgatherv (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int *recvcnts, int *displs, MPI_Datatype recvtype, MPI_Comm comm) |
int | TLM_AMPI_Allgatherv (void *sendbuf, int sendcnt, MPI_Datatype sendtype, void *recvbuf, int *recvcnts, int *displs, MPI_Datatype recvtype, MPI_Comm comm) |
int | FW_AMPI_Bcast (void *buf, int count, MPI_Datatype datatype, int root, MPI_Comm comm) |
int | BW_AMPI_Bcast (void *buf, int count, MPI_Datatype datatype, int root, MPI_Comm comm) |
int | TLM_AMPI_Bcast (void *buf, int count, MPI_Datatype datatype, int root, MPI_Comm comm) |
int | FWB_AMPI_Reduce (void *sbuf, void *rbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) |
int | FWS_AMPI_Reduce (void *sbuf, void *rbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) |
int | BWB_AMPI_Reduce (void *sbuf, void *rbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) |
int | BWS_AMPI_Reduce (void *sbuf, void *sbufb, void *rbuf, void *rbufb, int count, MPI_Datatype datatype, MPI_Datatype datatypeb, MPI_Op op, TLM_userFunctionF *uopd, int root, MPI_Comm comm) |
int | TLB_AMPI_Reduce (void *sbuf, void *rbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) |
int | TLS_AMPI_Reduce (void *sbuf, void *sbufd, void *rbuf, void *rbufd, int count, MPI_Datatype datatype, MPI_Datatype datatyped, MPI_Op op, TLM_userFunctionF *uopd, int root, MPI_Comm comm) |
int | FW_AMPI_Allreduce (void *sbuf, void *rbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) |
int | BW_AMPI_Allreduce (void *sbuf, void *rbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) |
int | TLM_AMPI_Allreduce (void *sbuf, void *rbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) |
int | AMPI_Type_create_struct (int count, int array_of_blocklengths[], MPI_Aint array_of_displacements[], MPI_Datatype array_of_types[], MPI_Datatype *newtype) |
int | AMPI_Type_create_resized (MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype) |
int | AMPI_Op_create (MPI_User_function *function, int commute, MPI_Op *op) |
int | FW_AMPI_Win_create (void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, AMPI_Win *win) |
int | BW_AMPI_Win_create (void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, AMPI_Win *win) |
int | FW_AMPI_Win_free (AMPI_Win *win) |
int | BW_AMPI_Win_free (AMPI_Win *win) |
int | FW_AMPI_Get (void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, AMPI_Win win) |
int | BW_AMPI_Get (void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, AMPI_Win win) |
int | BW_AMPI_Put (void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, AMPI_Win win) |
int | FW_AMPI_Win_fence (int assert, AMPI_Win win) |
int | BW_AMPI_Win_fence (int assert, AMPI_Win win) |
common AD implementation portion of AMPI routines from ampi/userIF/modifief.h
Definition in file modified.h.
int AMPI_Op_create | ( | MPI_User_function * | function, |
int | commute, | ||
MPI_Op * | op | ||
) |
create reduction op, calls MPI_Op_create, stores info
int AMPI_Type_create_resized | ( | MPI_Datatype | oldtype, |
MPI_Aint | lb, | ||
MPI_Aint | extent, | ||
MPI_Datatype * | newtype | ||
) |
int AMPI_Type_create_struct | ( | int | count, |
int | array_of_blocklengths[], | ||
MPI_Aint | array_of_displacements[], | ||
MPI_Datatype | array_of_types[], | ||
MPI_Datatype * | newtype | ||
) |
create struct, calls MPI_Type_create_struct twice (second time for packed typemap) and stores info
int BW_AMPI_Allgather | ( | void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
backward sweep variant of AMPI_Allgather
Definition at line 1101 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popGScommSizeForRootOrNull_fp, ADTOOL_AMPI_FPCollection::popGSinfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
int BW_AMPI_Allgatherv | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int * | recvcnts, | ||
int * | displs, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
backward sweep variant of AMPI_Allgatherv NOTE: recvcnts and displs are passed with a non-NULL pointer then they must be allocated to the correct size
Definition at line 1481 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, AMPI_Request_S::buf, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popGScommSizeForRootOrNull_fp, ADTOOL_AMPI_FPCollection::popGSVinfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
int BW_AMPI_Allreduce | ( | void * | sbuf, |
void * | rbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
MPI_Comm | comm | ||
) |
backward sweep variant of AMPI_Allreduce
Definition at line 2279 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, ADTOOL_AMPI_FPCollection::BW_rawType_fp, ADTOOL_AMPI_FPCollection::divideAdjoint_fp, ADTOOL_AMPI_FPCollection::equalAdjoints_fp, ADTOOL_AMPI_FPCollection::getAdjointCount_fp, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ADTOOL_AMPI_FPCollection::multiplyAdjoint_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popReduceCountAndType_fp, ADTOOL_AMPI_FPCollection::popReduceInfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
int BW_AMPI_Barrier | ( | MPI_Comm | comm) |
backward sweep variant of AMPI_Barrier
Definition at line 810 of file modified.c.
References ourADTOOL_AMPI_FPCollection, and ADTOOL_AMPI_FPCollection::pop_comm_fp.
Referenced by bw_ampi_barrier_().
int BW_AMPI_Bcast | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
backward sweep variant of AMPI_Bcast
Definition at line 1593 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, ADTOOL_AMPI_FPCollection::BW_rawType_fp, ADTOOL_AMPI_FPCollection::getAdjointCount_fp, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popBcastInfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
int BW_AMPI_Gather | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcnt, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
backward sweep variant of AMPI_Gather
Definition at line 879 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, ADTOOL_AMPI_FPCollection::getAdjointCount_fp, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popGScommSizeForRootOrNull_fp, ADTOOL_AMPI_FPCollection::popGSinfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
int BW_AMPI_Gatherv | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int * | recvcnts, | ||
int * | displs, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
backward sweep variant of AMPI_Gatherv NOTE: recvcnts and displs are passed with a non-NULL pointer then they must be allocated to the correct size
Definition at line 1210 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, ADTOOL_AMPI_FPCollection::getAdjointCount_fp, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popGScommSizeForRootOrNull_fp, ADTOOL_AMPI_FPCollection::popGSVinfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
int BW_AMPI_Get | ( | void * | origin_addr, |
int | origin_count, | ||
MPI_Datatype | origin_datatype, | ||
int | target_rank, | ||
MPI_Aint | target_disp, | ||
int | target_count, | ||
MPI_Datatype | target_datatype, | ||
AMPI_Win | win | ||
) |
Definition at line 2688 of file modified.c.
int BW_AMPI_Irecv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
AMPI_Request * | request | ||
) |
backward sweep variant of AMPI_Irecv
Definition at line 245 of file modified.c.
References AMPI_FROM_ISEND_WAIT, AMPI_FROM_ISEND_WAITALL, AMPI_FROM_SEND, AMPI_RECV_ORIGIN, BK_AMPI_get_AMPI_Request(), ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, AMPI_Request_S::plainRequest, ADTOOL_AMPI_FPCollection::pop_request_fp, and AMPI_Request_S::tracedRequest.
Referenced by bw_ampi_irecv_().
int BW_AMPI_Isend | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
AMPI_Request * | request | ||
) |
backward sweep variant of AMPI_Isend
Definition at line 564 of file modified.c.
References AMPI_SEND_ORIGIN, AMPI_TO_IRECV_WAIT, AMPI_TO_IRECV_WAITALL, AMPI_TO_RECV, BK_AMPI_get_AMPI_Request(), ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ourADTOOL_AMPI_FPCollection, AMPI_Request_S::plainRequest, ADTOOL_AMPI_FPCollection::pop_request_fp, ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp, and AMPI_Request_S::tracedRequest.
Referenced by bw_ampi_isend_().
int BW_AMPI_Put | ( | void * | origin_addr, |
int | origin_count, | ||
MPI_Datatype | origin_datatype, | ||
int | target_rank, | ||
MPI_Aint | target_disp, | ||
int | target_count, | ||
MPI_Datatype | target_datatype, | ||
AMPI_Win | win | ||
) |
Definition at line 2712 of file modified.c.
int BW_AMPI_Recv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | src, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
MPI_Status * | status | ||
) |
backward sweep variant of AMPI_Recv
Definition at line 89 of file modified.c.
References AMPI_FROM_BSEND, AMPI_FROM_ISEND_WAIT, AMPI_FROM_ISEND_WAITALL, AMPI_FROM_RSEND, AMPI_FROM_SEND, ADTOOL_AMPI_FPCollection::BW_rawType_fp, ADTOOL_AMPI_FPCollection::getAdjointCount_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, and ADTOOL_AMPI_FPCollection::popSRinfo_fp.
Referenced by bw_ampi_recv_().
int BW_AMPI_Scatter | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcnt, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
backward sweep variant of AMPI_Scatter
Definition at line 996 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popGScommSizeForRootOrNull_fp, ADTOOL_AMPI_FPCollection::popGSinfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
int BW_AMPI_Scatterv | ( | void * | sendbuf, |
int * | sendcnts, | ||
int * | displs, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcnt, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
backward sweep variant of AMPI_Scatterv NOTE: sendcnts and displs are passed with a non-NULL pointer then they must be allocated to the correct size
Definition at line 1348 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, AMPI_Request_S::buf, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popGScommSizeForRootOrNull_fp, ADTOOL_AMPI_FPCollection::popGSVinfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
int BW_AMPI_Send | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm | ||
) |
backward sweep variant of AMPI_Send
Definition at line 413 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, AMPI_TO_IRECV_WAIT, AMPI_TO_IRECV_WAITALL, AMPI_TO_RECV, ADTOOL_AMPI_FPCollection::BW_rawType_fp, ADTOOL_AMPI_FPCollection::getAdjointCount_fp, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popSRinfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
Referenced by bw_ampi_send_().
int BW_AMPI_Wait | ( | AMPI_Request * | request, |
MPI_Status * | status | ||
) |
backward sweep variant of AMPI_Wait
Definition at line 709 of file modified.c.
References AMPI_RECV_ORIGIN, AMPI_SEND_ORIGIN, BK_AMPI_put_AMPI_Request(), ourADTOOL_AMPI_FPCollection, AMPI_Request_S::plainRequest, ADTOOL_AMPI_FPCollection::pop_AMPI_Request_fp, ADTOOL_AMPI_FPCollection::rawAdjointData_fp, ADTOOL_AMPI_FPCollection::setAdjointCount_fp, and ADTOOL_AMPI_FPCollection::setAdjointCountAndTempBuf_fp.
Referenced by bw_ampi_wait_().
int BW_AMPI_Win_create | ( | void * | base, |
MPI_Aint | size, | ||
int | disp_unit, | ||
MPI_Info | info, | ||
MPI_Comm | comm, | ||
AMPI_Win * | win | ||
) |
Definition at line 2604 of file modified.c.
References AMPI_WIN_STACK_destroy(), AMPI_Win::map, ourADTOOL_AMPI_FPCollection, AMPI_Win::plainWindow, ADTOOL_AMPI_FPCollection::pop_AMPI_Win_fp, and AMPI_Win::req_stack.
int BW_AMPI_Win_fence | ( | int | assert, |
AMPI_Win | win | ||
) |
Definition at line 2753 of file modified.c.
References AMPI_WinRequest::adjointTempBuf, AMPI_Win::map, AMPI_Win::num_reqs, AMPI_WinRequest::origin_count, AMPI_WinRequest::origin_datatype, ourADTOOL_AMPI_FPCollection, AMPI_Win::plainWindow, ADTOOL_AMPI_FPCollection::pop_AMPI_Win_fp, ADTOOL_AMPI_FPCollection::pop_AMPI_WinRequest_fp, ADTOOL_AMPI_FPCollection::rawAdjointData_fp, ADTOOL_AMPI_FPCollection::setWinAdjointCountAndTempBuf_fp, AMPI_Win::size, ADTOOL_AMPI_FPCollection::syncAdjointWin_fp, AMPI_WinRequest::target_count, AMPI_WinRequest::target_datatype, AMPI_WinRequest::target_disp, and AMPI_WinRequest::target_rank.
int BW_AMPI_Win_free | ( | AMPI_Win * | win) |
ampiWin.plainWindow=malloc(sizeof(MPI_Win));
Definition at line 2630 of file modified.c.
References AMPI_Win::comm, AMPI_Win::disp, AMPI_Win::map, ourADTOOL_AMPI_FPCollection, AMPI_Win::plainWindow, ADTOOL_AMPI_FPCollection::pop_AMPI_Win_fp, and AMPI_Win::size.
int BWB_AMPI_Reduce | ( | void * | sbuf, |
void * | rbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Adjoint backward sweep of AMPI_Reduce. Bundled (Association-by-Address)
Definition at line 2108 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, ADTOOL_AMPI_FPCollection::BW_rawType_fp, ADTOOL_AMPI_FPCollection::divideAdjoint_fp, ADTOOL_AMPI_FPCollection::equalAdjoints_fp, ADTOOL_AMPI_FPCollection::getAdjointCount_fp, AMPI_Request_S::idx, ADTOOL_AMPI_FPCollection::incrementAdjoint_fp, ADTOOL_AMPI_FPCollection::multiplyAdjoint_fp, ADTOOL_AMPI_FPCollection::nullifyAdjoint_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::popReduceCountAndType_fp, ADTOOL_AMPI_FPCollection::popReduceInfo_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
int BWS_AMPI_Reduce | ( | void * | sbuf, |
void * | sbufb, | ||
void * | rbuf, | ||
void * | rbufb, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Datatype | datatypeb, | ||
MPI_Op | op, | ||
TLM_userFunctionF * | uopb, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Adjoint backward sweep of AMPI_Reduce. Shadowed (Association-by-Name)
[llh 16/10/2013] This version for Association-By-Name :
Definition at line 2186 of file modified.c.
References PEDESTRIAN_AMPI_Reduce().
Referenced by bws_ampi_reduce_().
int FW_AMPI_Allgather | ( | void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
forward sweep variant of AMPI_Allgather
Definition at line 1057 of file modified.c.
References AMPI_ACTIVE, AMPI_ALLGATHER, AMPI_Request_S::comm, ADTOOL_AMPI_FPCollection::isActiveType_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::pushGSinfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, and ADTOOL_AMPI_FPCollection::writeData_fp.
int FW_AMPI_Allgatherv | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int * | recvcnts, | ||
int * | displs, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
forward sweep variant of AMPI_Allgatherv
Definition at line 1434 of file modified.c.
References AMPI_ACTIVE, AMPI_ALLGATHERV, ADTOOL_AMPI_FPCollection::isActiveType_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCodeReserve_fp, ADTOOL_AMPI_FPCollection::pushGSVinfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, ADTOOL_AMPI_FPCollection::rawDataV_fp, and ADTOOL_AMPI_FPCollection::writeDataV_fp.
int FW_AMPI_Allreduce | ( | void * | sbuf, |
void * | rbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
MPI_Comm | comm | ||
) |
forward sweep variant of AMPI_Allreduce
Definition at line 2240 of file modified.c.
References AMPI_ACTIVE, AMPI_ALLREDUCE, ADTOOL_AMPI_FPCollection::FW_rawType_fp, ADTOOL_AMPI_FPCollection::isActiveType_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::pushReduceInfo_fp, and ADTOOL_AMPI_FPCollection::rawData_fp.
int FW_AMPI_Barrier | ( | MPI_Comm | comm) |
forward sweep variant of AMPI_Barrier
Definition at line 802 of file modified.c.
References AMPI_BARRIER, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCode_fp, and ADTOOL_AMPI_FPCollection::push_comm_fp.
Referenced by fw_ampi_barrier_().
int FW_AMPI_Bcast | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
forward sweep variant of AMPI_Bcast
Definition at line 1554 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, AMPI_ACTIVE, AMPI_BCAST, AMPI_Request_S::buf, derivedTypeIdx(), ADTOOL_AMPI_FPCollection::FW_rawType_fp, ADTOOL_AMPI_FPCollection::isActiveType_fp, isDerivedType(), ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::packDType_fp, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::pushBcastInfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp, and ADTOOL_AMPI_FPCollection::unpackDType_fp.
int FW_AMPI_Gather | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcnt, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
forward sweep variant of AMPI_Gather
Definition at line 832 of file modified.c.
References AMPI_ACTIVE, AMPI_GATHER, ADTOOL_AMPI_FPCollection::isActiveType_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::pushGSinfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, and ADTOOL_AMPI_FPCollection::writeData_fp.
int FW_AMPI_Gatherv | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int * | recvcnts, | ||
int * | displs, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
forward sweep variant of AMPI_Gatherv
Definition at line 1160 of file modified.c.
References AMPI_ACTIVE, AMPI_GATHERV, ADTOOL_AMPI_FPCollection::isActiveType_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCodeReserve_fp, ADTOOL_AMPI_FPCollection::pushGSVinfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, ADTOOL_AMPI_FPCollection::rawDataV_fp, and ADTOOL_AMPI_FPCollection::writeDataV_fp.
int FW_AMPI_Get | ( | void * | origin_addr, |
int | origin_count, | ||
MPI_Datatype | origin_datatype, | ||
int | target_rank, | ||
MPI_Aint | target_disp, | ||
int | target_count, | ||
MPI_Datatype | target_datatype, | ||
AMPI_Win | win | ||
) |
Definition at line 2643 of file modified.c.
References AMPI_ACTIVE, AMPI_GET, AMPI_WIN_STACK_push(), ADTOOL_AMPI_FPCollection::isActiveType_fp, ADTOOL_AMPI_FPCollection::mapWinBufForAdjoint_fp, AMPI_WinRequest::origin_addr, AMPI_WinRequest::origin_count, AMPI_WinRequest::origin_datatype, ourADTOOL_AMPI_FPCollection, AMPI_Win::plainWindow, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::rawData_fp, AMPI_Win::req_stack, AMPI_WinRequest::target_count, AMPI_WinRequest::target_datatype, AMPI_WinRequest::target_disp, and AMPI_WinRequest::target_rank.
int FW_AMPI_Irecv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
AMPI_Request * | request | ||
) |
forward sweep variant of AMPI_Irecv
Definition at line 178 of file modified.c.
References AMPI_ACTIVE, AMPI_FROM_ISEND_WAIT, AMPI_FROM_ISEND_WAITALL, AMPI_FROM_SEND, AMPI_IRECV, AMPI_RECV_ORIGIN, BK_AMPI_put_AMPI_Request(), AMPI_Request_stack::buf, AMPI_Request_S::comm, AMPI_Request_S::count, AMPI_Request_S::datatype, AMPI_Request_S::endPoint, ADTOOL_AMPI_FPCollection::isActiveType_fp, ADTOOL_AMPI_FPCollection::mapBufForAdjoint_fp, ourADTOOL_AMPI_FPCollection, AMPI_Request_S::pairedWith, AMPI_Request_S::plainRequest, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::push_request_fp, ADTOOL_AMPI_FPCollection::rawData_fp, and AMPI_Request_S::tag.
Referenced by fw_ampi_irecv_().
int FW_AMPI_Isend | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
AMPI_Request * | request | ||
) |
forward sweep variant of AMPI_Isend
Definition at line 497 of file modified.c.
References AMPI_ACTIVE, AMPI_ISEND, AMPI_SEND_ORIGIN, AMPI_TO_IRECV_WAIT, AMPI_TO_IRECV_WAITALL, AMPI_TO_RECV, BK_AMPI_put_AMPI_Request(), AMPI_Request_S::buf, AMPI_Request_S::comm, AMPI_Request_S::count, AMPI_Request_S::datatype, AMPI_Request_S::endPoint, ADTOOL_AMPI_FPCollection::isActiveType_fp, ADTOOL_AMPI_FPCollection::mapBufForAdjoint_fp, ourADTOOL_AMPI_FPCollection, AMPI_Request_S::pairedWith, AMPI_Request_S::plainRequest, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::push_request_fp, ADTOOL_AMPI_FPCollection::rawData_fp, and AMPI_Request_S::tag.
Referenced by fw_ampi_isend_().
int FW_AMPI_Recv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | src, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
MPI_Status * | status | ||
) |
forward sweep variant of AMPI_Recv
Definition at line 26 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, AMPI_ACTIVE, AMPI_FROM_BSEND, AMPI_FROM_ISEND_WAIT, AMPI_FROM_ISEND_WAITALL, AMPI_FROM_RSEND, AMPI_FROM_SEND, AMPI_RECV, AMPI_Request_stack::buf, derivedTypeIdx(), ADTOOL_AMPI_FPCollection::FW_rawType_fp, ADTOOL_AMPI_FPCollection::isActiveType_fp, isDerivedType(), ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::pushSRinfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp, ADTOOL_AMPI_FPCollection::unpackDType_fp, and ADTOOL_AMPI_FPCollection::writeData_fp.
Referenced by fw_ampi_recv_(), and FWB_AMPI_Reduce().
int FW_AMPI_Scatter | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcnt, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
forward sweep variant of AMPI_Scatter
Definition at line 949 of file modified.c.
References AMPI_ACTIVE, AMPI_SCATTER, ADTOOL_AMPI_FPCollection::isActiveType_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::pushGSinfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, and ADTOOL_AMPI_FPCollection::writeData_fp.
int FW_AMPI_Scatterv | ( | void * | sendbuf, |
int * | sendcnts, | ||
int * | displs, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcnt, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
forward sweep variant of AMPI_Scatterv
Definition at line 1298 of file modified.c.
References AMPI_ACTIVE, AMPI_SCATTERV, ADTOOL_AMPI_FPCollection::isActiveType_fp, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCodeReserve_fp, ADTOOL_AMPI_FPCollection::pushGSVinfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, ADTOOL_AMPI_FPCollection::rawDataV_fp, and ADTOOL_AMPI_FPCollection::writeData_fp.
int FW_AMPI_Send | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm | ||
) |
forward sweep variant of AMPI_Send
Definition at line 362 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempBuf_fp, AMPI_ACTIVE, AMPI_SEND, AMPI_TO_IRECV_WAIT, AMPI_TO_IRECV_WAITALL, AMPI_TO_RECV, AMPI_Request_S::buf, derivedTypeIdx(), ADTOOL_AMPI_FPCollection::FW_rawType_fp, ADTOOL_AMPI_FPCollection::isActiveType_fp, isDerivedType(), ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::packDType_fp, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::pushSRinfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, and ADTOOL_AMPI_FPCollection::releaseAdjointTempBuf_fp.
Referenced by fw_ampi_send_(), and FWB_AMPI_Reduce().
int FW_AMPI_Wait | ( | AMPI_Request * | request, |
MPI_Status * | status | ||
) |
forward sweep variant of AMPI_Wait
Definition at line 682 of file modified.c.
References AMPI_ACTIVE, AMPI_WAIT, BK_AMPI_get_AMPI_Request(), ADTOOL_AMPI_FPCollection::isActiveType_fp, ourADTOOL_AMPI_FPCollection, AMPI_Request_S::plainRequest, ADTOOL_AMPI_FPCollection::push_AMPI_Request_fp, ADTOOL_AMPI_FPCollection::push_CallCode_fp, and ADTOOL_AMPI_FPCollection::writeData_fp.
Referenced by fw_ampi_wait_().
int FW_AMPI_Win_create | ( | void * | base, |
MPI_Aint | size, | ||
int | disp_unit, | ||
MPI_Info | info, | ||
MPI_Comm | comm, | ||
AMPI_Win * | win | ||
) |
One-sided MPI
Definition at line 2576 of file modified.c.
References AMPI_WIN_CREATE, AMPI_WIN_STACK_stack_init(), AMPI_Win::base, AMPI_Win::comm, AMPI_Request_S::comm, ADTOOL_AMPI_FPCollection::createWinMap_fp, AMPI_Win::disp, ADTOOL_AMPI_FPCollection::getWinSize_fp, AMPI_Win::idx, AMPI_Win::map, AMPI_Win::num_reqs, ourADTOOL_AMPI_FPCollection, AMPI_Win::plainWindow, ADTOOL_AMPI_FPCollection::push_AMPI_Win_fp, ADTOOL_AMPI_FPCollection::push_CallCode_fp, AMPI_Win::req_stack, and AMPI_Win::size.
int FW_AMPI_Win_fence | ( | int | assert, |
AMPI_Win | win | ||
) |
Definition at line 2724 of file modified.c.
References AMPI_WIN_FENCE, AMPI_WIN_STACK_pop(), AMPI_Win::base, AMPI_Win::map, AMPI_Win_stack::num_reqs, AMPI_Win::num_reqs, AMPI_WinRequest::origin_addr, AMPI_WinRequest::origin_count, ourADTOOL_AMPI_FPCollection, AMPI_Win::plainWindow, ADTOOL_AMPI_FPCollection::push_AMPI_Win_fp, ADTOOL_AMPI_FPCollection::push_AMPI_WinRequest_fp, ADTOOL_AMPI_FPCollection::push_CallCode_fp, AMPI_Win::req_stack, AMPI_Win::size, ADTOOL_AMPI_FPCollection::writeData_fp, and ADTOOL_AMPI_FPCollection::writeWinData_fp.
int FW_AMPI_Win_free | ( | AMPI_Win * | win) |
Definition at line 2623 of file modified.c.
References AMPI_WIN_FREE, AMPI_Win::map, ourADTOOL_AMPI_FPCollection, AMPI_Win::plainWindow, ADTOOL_AMPI_FPCollection::push_AMPI_Win_fp, and ADTOOL_AMPI_FPCollection::push_CallCode_fp.
int FWB_AMPI_Reduce | ( | void * | sbuf, |
void * | rbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Adjoint forward sweep of AMPI_Reduce. Bundled (Association-by-Address)
Definition at line 1977 of file modified.c.
References ADTOOL_AMPI_FPCollection::allocateTempActiveBuf_fp, AMPI_ACTIVE, AMPI_FROM_SEND, AMPI_REDUCE, AMPI_TO_RECV, userDefinedOpData::commutes, ADTOOL_AMPI_FPCollection::copyActiveBuf_fp, AMPI_Request_S::count, AMPI_Request_S::datatype, derivedTypeIdx(), userDefinedOpData::functions, FW_AMPI_Recv(), FW_AMPI_Send(), ADTOOL_AMPI_FPCollection::FW_rawType_fp, getDTypeData(), getUOpData(), ADTOOL_AMPI_FPCollection::isActiveType_fp, isDerivedType(), isUserDefinedOp(), derivedTypeData::lbs, ourADTOOL_AMPI_FPCollection, ADTOOL_AMPI_FPCollection::push_CallCode_fp, ADTOOL_AMPI_FPCollection::pushReduceInfo_fp, ADTOOL_AMPI_FPCollection::rawData_fp, ADTOOL_AMPI_FPCollection::releaseTempActiveBuf_fp, and userDefinedOpIdx().
int FWS_AMPI_Reduce | ( | void * | sbuf, |
void * | rbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Adjoint forward sweep of AMPI_Reduce. Shadowed (Association-by-Name)
[llh 16/10/2013] This version for Association-By-Name :
Definition at line 2091 of file modified.c.
References PEDESTRIAN_AMPI_Reduce().
Referenced by fws_ampi_reduce_().
int TLB_AMPI_Reduce | ( | void * | sbuf, |
void * | rbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Tangent diff of AMPI_Reduce. Bundled (Association-by-Address)
Definition at line 2203 of file modified.c.
int TLM_AMPI_Allgather | ( | void * | sendbuf, |
int | sendcount, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcount, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
TLM variant of AMPI_Allgather
Definition at line 1148 of file modified.c.
int TLM_AMPI_Allgatherv | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int * | recvcnts, | ||
int * | displs, | ||
MPI_Datatype | recvtype, | ||
MPI_Comm | comm | ||
) |
TLM variant of AMPI_Allgatherv NOTE: recvcnts and displs are passed with a non-NULL pointer then they must be allocated to the correct size
Definition at line 1541 of file modified.c.
int TLM_AMPI_Allreduce | ( | void * | sbuf, |
void * | rbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Op | op, | ||
MPI_Comm | comm | ||
) |
TLM variant of AMPI_Allreduce
Definition at line 2350 of file modified.c.
int TLM_AMPI_Barrier | ( | MPI_Comm | comm) |
TLM variant of AMPI_Barrier
Definition at line 817 of file modified.c.
int TLM_AMPI_Bcast | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
TLM variant of AMPI_Bcast
Definition at line 1626 of file modified.c.
int TLM_AMPI_Gather | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcnt, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
TLM variant of AMPI_Gather
Definition at line 936 of file modified.c.
int TLM_AMPI_Gatherv | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int * | recvcnts, | ||
int * | displs, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
TLM variant of AMPI_Gatherv
Definition at line 1284 of file modified.c.
int TLM_AMPI_Irecv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
AMPI_Request * | request | ||
) |
TLM variant of AMPI_Irecv
Definition at line 303 of file modified.c.
int TLM_AMPI_Isend | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
AMPI_Request * | request | ||
) |
TLM variant of AMPI_Isend
Definition at line 625 of file modified.c.
int TLM_AMPI_Recv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | src, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
MPI_Status * | status | ||
) |
TLM variant of AMPI_Recv
Definition at line 141 of file modified.c.
int TLM_AMPI_Scatter | ( | void * | sendbuf, |
int | sendcnt, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcnt, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
TLM variant of AMPI_Scatter
Definition at line 1044 of file modified.c.
int TLM_AMPI_Scatterv | ( | void * | sendbuf, |
int * | sendcnts, | ||
int * | displs, | ||
MPI_Datatype | sendtype, | ||
void * | recvbuf, | ||
int | recvcnt, | ||
MPI_Datatype | recvtype, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
TLM variant of AMPI_Scatterv NOTE: sendcnts and displs are passed with a non-NULL pointer then they must be allocated to the correct size
Definition at line 1421 of file modified.c.
int TLM_AMPI_Send | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm | ||
) |
TLM variant of AMPI_Send
Definition at line 467 of file modified.c.
int TLM_AMPI_Wait | ( | AMPI_Request * | request, |
MPI_Status * | status | ||
) |
TLM variant of AMPI_Wait
Definition at line 757 of file modified.c.
int TLS_AMPI_Barrier | ( | MPI_Comm | comm) |
TLS variant of AMPI_Barrier
Definition at line 823 of file modified.c.
References ADTOOL_AMPI_FPCollection::getShadowComm_fp, and ourADTOOL_AMPI_FPCollection.
Referenced by tls_ampi_barrier_().
int TLS_AMPI_Irecv | ( | void * | buf, |
void * | shadowbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Datatype | shadowdatatype, | ||
int | source, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
AMPI_Request * | request | ||
) |
Tangent Irecv, with separate shadow (i.e. tangent) buffer.
Definition at line 319 of file modified.c.
References AMPI_RECV_ORIGIN, BK_AMPI_put_AMPI_Request(), AMPI_Request_S::comm, AMPI_Request_S::count, AMPI_Request_S::endPoint, AMPI_Request_S::pairedWith, AMPI_Request_S::plainRequest, and AMPI_Request_S::tag.
Referenced by tls_ampi_irecv_().
int TLS_AMPI_Isend | ( | void * | buf, |
void * | shadowbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Datatype | shadowdatatype, | ||
int | dest, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
AMPI_Request * | request | ||
) |
Tangent Isend, with separate shadow (i.e. tangent) buffer.
Definition at line 641 of file modified.c.
References AMPI_SEND_ORIGIN, BK_AMPI_put_AMPI_Request(), AMPI_Request_S::comm, AMPI_Request_S::count, AMPI_Request_S::datatype, AMPI_Request_S::endPoint, ADTOOL_AMPI_FPCollection::getShadowComm_fp, ADTOOL_AMPI_FPCollection::mapBufForAdjoint_fp, ourADTOOL_AMPI_FPCollection, AMPI_Request_S::pairedWith, AMPI_Request_S::plainRequest, and AMPI_Request_S::tag.
Referenced by tls_ampi_isend_().
int TLS_AMPI_Recv | ( | void * | buf, |
void * | shadowbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Datatype | shadowdatatype, | ||
int | src, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm, | ||
MPI_Status * | status | ||
) |
Tangent Recv, with separate shadow (i.e. tangent) buffer.
Definition at line 157 of file modified.c.
References ADTOOL_AMPI_FPCollection::getShadowComm_fp, and ourADTOOL_AMPI_FPCollection.
Referenced by tls_ampi_recv_().
int TLS_AMPI_Reduce | ( | void * | sbuf, |
void * | sbufd, | ||
void * | rbuf, | ||
void * | rbufd, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Datatype | datatyped, | ||
MPI_Op | op, | ||
TLM_userFunctionF * | uopd, | ||
int | root, | ||
MPI_Comm | comm | ||
) |
Tangent diff of AMPI_Reduce. Shadowed (Association-by-Name)
Definition at line 2223 of file modified.c.
References PEDESTRIAN_AMPI_Reduce().
Referenced by tls_ampi_reduce_().
int TLS_AMPI_Send | ( | void * | buf, |
void * | shadowbuf, | ||
int | count, | ||
MPI_Datatype | datatype, | ||
MPI_Datatype | shadowdatatype, | ||
int | dest, | ||
int | tag, | ||
AMPI_PairedWith | pairedWith, | ||
MPI_Comm | comm | ||
) |
Tangent Send, with separate shadow (i.e. tangent) buffer.
Definition at line 482 of file modified.c.
References ADTOOL_AMPI_FPCollection::getShadowComm_fp, and ourADTOOL_AMPI_FPCollection.
Referenced by tls_ampi_send_().
int TLS_AMPI_Wait | ( | AMPI_Request * | request, |
MPI_Status * | status | ||
) |
Tangent Wait, with separate shadow (i.e. tangent) buffer.
Definition at line 767 of file modified.c.
References AMPI_RECV_ORIGIN, AMPI_SEND_ORIGIN, BK_AMPI_get_AMPI_Request(), ADTOOL_AMPI_FPCollection::getShadowComm_fp, and ourADTOOL_AMPI_FPCollection.
Referenced by tls_ampi_wait_().