1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-13 01:05:36 +00:00

HIP stream synch

This commit is contained in:
Peter Boyle 2023-05-27 17:58:22 +03:00
parent 6533c25814
commit 4835fd1a87

View File

@ -451,7 +451,6 @@ public:
else if ( this->fullDirichlet ) DslashLogDirichlet(); else if ( this->fullDirichlet ) DslashLogDirichlet();
else DslashLogFull(); else DslashLogFull();
acceleratorCopySynchronise(); acceleratorCopySynchronise();
// Everyone agrees we are all done
_grid->StencilBarrier(); _grid->StencilBarrier();
} }
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
@ -540,6 +539,7 @@ public:
compress.Point(point); compress.Point(point);
HaloGatherDir(source,compress,point,face_idx); HaloGatherDir(source,compress,point,face_idx);
} }
accelerator_barrier();
face_table_computed=1; face_table_computed=1;
assert(u_comm_offset==_unified_buffer_size); assert(u_comm_offset==_unified_buffer_size);