From 5fa573dfd367e01c3b9bb56faf90e689e784959d Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 25 Nov 2022 00:51:04 -0500 Subject: [PATCH] partial send fix --- Grid/stencil/Stencil.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Grid/stencil/Stencil.h b/Grid/stencil/Stencil.h index da230e7e..cffede12 100644 --- a/Grid/stencil/Stencil.h +++ b/Grid/stencil/Stencil.h @@ -203,7 +203,7 @@ class CartesianStencilAccelerator { template class CartesianStencilView : public CartesianStencilAccelerator { - private: +public: int *closed; StencilEntry *cpu_ptr; ViewMode mode; @@ -676,6 +676,8 @@ public: int block = dirichlet_block[dimension]; this->_comms_send[ii] = comm_dim; this->_comms_recv[ii] = comm_dim; + this->_comms_partial_send[ii] = 0; + this->_comms_partial_recv[ii] = 0; if ( block && comm_dim ) { assert(abs(displacement) < ld ); // Quiesce communication across block boundaries @@ -1131,6 +1133,7 @@ public: send_buf = this->u_send_buf_p; // Gather locally, must send assert(send_buf!=NULL); + // std::cout << " GatherPlaneSimple partial send "<< comms_partial_send<