-
When GPU halo exchange with direct communication is enabled, CPU based free-energy kernels were being run without waiting on non-local co-ordinates to be available on host. This resulted in use of stale data on CPU side. Moving the wait before free-energy kernel fixes this issue. Fixes #4471
166ade5d