From b01e67bab167e21df87640ae6a83610ca7380a96 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Mon, 2 Oct 2023 17:46:57 -0400 Subject: [PATCH] coalescedReadGeneralPermute now working --- Grid/algorithms/GeneralCoarsenedMatrix.h | 4 ++-- Grid/qcd/utils/WilsonLoops.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Grid/algorithms/GeneralCoarsenedMatrix.h b/Grid/algorithms/GeneralCoarsenedMatrix.h index 3e4bc1df..21c75c8b 100644 --- a/Grid/algorithms/GeneralCoarsenedMatrix.h +++ b/Grid/algorithms/GeneralCoarsenedMatrix.h @@ -344,8 +344,8 @@ public: int ss = sss/nbasis; int b = sss%nbasis; - auto SE = Stencil_v.GetEntry(point,ss); - auto nbr = coalescedRead(in_v[SE->_offset]); + auto SE = Stencil_v.GetEntry(point,ss); + auto nbr = coalescedReadGeneralPermute(in_v[SE->_offset],SE->_permute,Nd); auto res = out_v(ss)(b); for(int bb=0;bboSites(), ggrid->Nsimd(), { decltype(coalescedRead(Ug_dirs_v[0][0])) stencil_ss; @@ -1199,7 +1199,7 @@ public: { //view scope autoView( gStaple_v , gStaple, AcceleratorWrite); - auto gStencil_v = gStencil.View(); + auto gStencil_v = gStencil.View(AcceleratorRead); accelerator_for(ss, ggrid->oSites(), ggrid->Nsimd(), { decltype(coalescedRead(Ug_dirs_v[0][0])) stencil_ss;