mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Partial dirichlet changes
This commit is contained in:
parent
ca62abd203
commit
653039695b
@ -220,7 +220,7 @@ int main (int argc, char ** argv)
|
||||
xmit_to_rank,1,
|
||||
(void *)&rbuf[mu][0],
|
||||
recv_from_rank,1,
|
||||
bytes,mu);
|
||||
bytes,bytes,mu);
|
||||
|
||||
comm_proc = mpi_layout[mu]-1;
|
||||
|
||||
@ -231,7 +231,7 @@ int main (int argc, char ** argv)
|
||||
xmit_to_rank,1,
|
||||
(void *)&rbuf[mu+4][0],
|
||||
recv_from_rank,1,
|
||||
bytes,mu+4);
|
||||
bytes,bytes,mu+4);
|
||||
|
||||
}
|
||||
}
|
||||
@ -312,7 +312,7 @@ int main (int argc, char ** argv)
|
||||
xmit_to_rank,1,
|
||||
(void *)&rbuf[mu][0],
|
||||
recv_from_rank,1,
|
||||
bytes,mu);
|
||||
bytes,bytes,mu);
|
||||
Grid.StencilSendToRecvFromComplete(requests,mu);
|
||||
requests.resize(0);
|
||||
|
||||
@ -325,7 +325,7 @@ int main (int argc, char ** argv)
|
||||
xmit_to_rank,1,
|
||||
(void *)&rbuf[mu+4][0],
|
||||
recv_from_rank,1,
|
||||
bytes,mu+4);
|
||||
bytes,bytes,mu+4);
|
||||
Grid.StencilSendToRecvFromComplete(requests,mu+4);
|
||||
requests.resize(0);
|
||||
|
||||
@ -412,7 +412,7 @@ int main (int argc, char ** argv)
|
||||
}
|
||||
int tid = omp_get_thread_num();
|
||||
tbytes= Grid.StencilSendToRecvFrom((void *)&xbuf[dir][0], xmit_to_rank,1,
|
||||
(void *)&rbuf[dir][0], recv_from_rank,1, bytes,tid);
|
||||
(void *)&rbuf[dir][0], recv_from_rank,1, bytes,bytes,tid);
|
||||
|
||||
thread_critical { dbytes+=tbytes; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user