19 #ifndef MCA_COLL_TUNED_UTIL_EXPORT_H
20 #define MCA_COLL_TUNED_UTIL_EXPORT_H
22 #include "ompi_config.h"
26 #include "ompi/datatype/ompi_datatype.h"
33 int ompi_coll_tuned_sendrecv_actual(
void* sendbuf,
size_t scount,
36 void* recvbuf,
size_t rcount,
46 ompi_coll_tuned_sendrecv(
void* sendbuf,
size_t scount,
ompi_datatype_t* sdatatype,
53 if ((dest == myid) && (source == myid)) {
54 return (
int) ompi_datatype_sndrcv(sendbuf, (int32_t) scount, sdatatype,
55 recvbuf, (int32_t) rcount, rdatatype);
57 return ompi_coll_tuned_sendrecv_actual (sendbuf, scount, sdatatype,
59 recvbuf, rcount, rdatatype,
60 source, rtag, comm, status);
64 ompi_coll_tuned_sendrecv_actual_localcompleted(
void* sendbuf,
size_t scount,
67 void* recvbuf,
size_t rcount,
77 ompi_coll_tuned_sendrecv_localcompleted(
void* sendbuf,
size_t scount,
80 void* recvbuf,
size_t rcount,
86 if ((dest == myid) && (source == myid)) {
87 return (
int) ompi_datatype_sndrcv(sendbuf, (int32_t) scount, sdatatype,
88 recvbuf, (int32_t) rcount, rdatatype);
90 return ompi_coll_tuned_sendrecv_actual_localcompleted (sendbuf, scount,
101 ompi_coll_tuned_isendrecv(
void* sendbuf,
size_t scount,
ompi_datatype_t* sdtype,
108 ret = MCA_PML_CALL(irecv(recvbuf, rcount, rdtype, source, rtag, comm, rreq));
109 if (MPI_SUCCESS != ret) { line = __LINE__;
goto error_handler; }
111 ret = MCA_PML_CALL(isend(sendbuf, scount, sdtype, dest, stag,
112 MCA_PML_BASE_SEND_STANDARD, comm, sreq));
113 if (MPI_SUCCESS != ret) { line = __LINE__;
goto error_handler; }
117 OPAL_OUTPUT((ompi_coll_tuned_stream,
"%s:%d\tError occurred %d\n",
118 __FILE__, line, ret));
#define OPAL_OUTPUT(a)
Main macro for use in sending debugging output to output streams; will be "compiled out" when OPAL is...
Definition: output.h:534
P2P Management Layer (PML)
Definition: ompi_datatype.h:68
Top-level interface for all MCA components.
Top-level description of requests.
Definition: communicator.h:118
Main top-level request struct definition.
Definition: request.h:100