diff --git a/Grid/stencil/Stencil.h b/Grid/stencil/Stencil.h index f7b31fed..1015e132 100644 --- a/Grid/stencil/Stencil.h +++ b/Grid/stencil/Stencil.h @@ -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_slice_nblock[dimension]*_grid->_slice_block[dimension]; int cb= (cbmask==0x2)? Odd : Even;