1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

Benchmark_comms fix

This commit is contained in:
Peter Boyle 2022-11-15 17:00:49 -05:00
parent ee84dcb400
commit fe6e8f5ac6

View File

@ -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,bytes,tid);
(void *)&rbuf[dir][0], recv_from_rank,1, bytes,tid);
thread_critical { dbytes+=tbytes; }
}