From 912b50f6fa6ad9e13e54170b587872f9a64cf2f6 Mon Sep 17 00:00:00 2001 From: paboyle Date: Fri, 26 Jan 2018 23:08:45 +0000 Subject: [PATCH] Hiding lattice internals --- lib/stencil/Stencil.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/stencil/Stencil.h b/lib/stencil/Stencil.h index baa6ebf6..22bd3bb6 100644 --- a/lib/stencil/Stencil.h +++ b/lib/stencil/Stencil.h @@ -64,7 +64,7 @@ void Gather_plane_simple_table (std::vector >& table,const La { int num=table.size(); parallel_for(int i=0;i >& table,const L int num=table.size()/2; int so = plane*rhs._grid->_ostride[dimension]; // base offset for start of plane parallel_for(int j=0;j_simd_layout[dimension]; @@ -880,7 +880,7 @@ public: int buffer_size = _grid->_slice_nblock[dimension]*_grid->_slice_block[dimension]; int cb= (cbmask==0x2)? Odd : Even; - int sshift= _grid->CheckerBoardShiftForCB(rhs.checkerboard,dimension,shift,cb); + int sshift= _grid->CheckerBoardShiftForCB(rhs.Checkerboard(),dimension,shift,cb); int shm_receive_only = 1; for(int x=0;xCheckerBoardShiftForCB(rhs.checkerboard,dimension,shift,cb); + int sshift= _grid->CheckerBoardShiftForCB(rhs.Checkerboard(),dimension,shift,cb); // loop over outer coord planes orthog to dim int shm_receive_only = 1;