updated wrapper

parent 7de6b027
......@@ -265,8 +265,8 @@ int MPI_Send_offload(const void *buf, int count, MPI_Datatype datatype, int dest
#if COMMUNICATION_MODE==0
return smpi_send_offload_p2p(buf, count, datatype, translateRank(comm, dest, _comm), tag, comm, rail);
#elif COMMUNICATION_MODE==1
return smpi_send_offload_rma(buf, count, datatype, translateRank(comm, dest, _comm), tag, comm, rail);
#elif COMMUNICATION_MODE==2
return smpi_send_offload_gpi(buf, count, datatype, translateRank(comm, dest, _comm), tag, comm, rail);
#endif
}
......@@ -274,9 +274,9 @@ int MPI_Recv_offload(void *buf, int count, MPI_Datatype datatype, int source, in
#if COMMUNICATION_MODE==0
int ierr = smpi_recv_offload_p2p(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat, rail);
return ierr;
#elif COMMUNICATION_MODE==1
#elif COMMUNICATION_MODE==2
//return smpi_recv_offload_rma(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat);
return smpi_recv_offload_rma(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat, rail);
return smpi_recv_offload_gpi(buf, count, datatype, translateRank(comm, source, _comm), tag, comm, stat, rail);
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment