From cc753670d9abfc44602c447c62c14425beb8bbb5 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 4 Apr 2023 07:39:14 -0700 Subject: [PATCH] Barrier elimination, surface list build --- Grid/stencil/Stencil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grid/stencil/Stencil.h b/Grid/stencil/Stencil.h index 92c229ab..5c70848f 100644 --- a/Grid/stencil/Stencil.h +++ b/Grid/stencil/Stencil.h @@ -348,7 +348,7 @@ public: //////////////////////////////////////// // Stencil query //////////////////////////////////////// -#ifdef SHM_FAST_PATH +#if 1 inline int SameNode(int point) { int dimension = this->_directions[point]; @@ -434,7 +434,6 @@ public: //////////////////////////////////////////////////////////////////////// void CommunicateBegin(std::vector > &reqs) { - accelerator_barrier(); for(int i=0;iStencilSendToRecvFromBegin(MpiReqs, Packets[i].send_buf, @@ -708,6 +707,7 @@ public: } } } + std::cout << "BuildSurfaceList size is "<