mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-30 11:34:32 +00:00 
			
		
		
		
	Put the barrier in the subroutine
This commit is contained in:
		| @@ -332,8 +332,7 @@ void WilsonFermion5D<Impl>::DhopInternalOverlappedComms(StencilImpl & st, Lebesg | ||||
|   ///////////////////////////// | ||||
|   { | ||||
|     GRID_TRACE("Gather"); | ||||
|     st.HaloExchangeOptGather(in,compressor); | ||||
|     accelerator_barrier(); | ||||
|     st.HaloExchangeOptGather(in,compressor); // Put the barrier in the routine | ||||
|   } | ||||
|    | ||||
|   std::vector<std::vector<CommsRequest_t> > requests; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user