mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
MOve the synchronise out to the stencil so one call instead of one call per packet
This commit is contained in:
parent
2fbcf13c46
commit
dd3bbb8fa2
@ -401,8 +401,6 @@ double CartesianCommunicator::StencilSendToRecvFromBegin(std::vector<CommsReques
|
|||||||
void CartesianCommunicator::StencilSendToRecvFromComplete(std::vector<CommsRequest_t> &list,int dir)
|
void CartesianCommunicator::StencilSendToRecvFromComplete(std::vector<CommsRequest_t> &list,int dir)
|
||||||
{
|
{
|
||||||
// std::cout << "Copy Synchronised\n"<<std::endl;
|
// std::cout << "Copy Synchronised\n"<<std::endl;
|
||||||
acceleratorCopySynchronise();
|
|
||||||
|
|
||||||
int nreq=list.size();
|
int nreq=list.size();
|
||||||
|
|
||||||
if (nreq==0) return;
|
if (nreq==0) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user