1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-07 04:35:56 +01:00

Insert a GPU synchronise

This commit is contained in:
Peter Boyle 2019-06-15 08:23:26 +01:00
parent 7379047482
commit 1e889c93b8

View File

@ -511,8 +511,9 @@ public:
HaloGatherDir(source,compress,point,face_idx);
}
face_table_computed=1;
assert(u_comm_offset==_unified_buffer_size);
accelerator_barrier();
halogtime+=usecond();
}
@ -972,7 +973,6 @@ public:
assert(shift>=0);
assert(shift<fd);
int buffer_size = _grid->_slice_nblock[dimension]*_grid->_slice_block[dimension];
int cb= (cbmask==0x2)? Odd : Even;