1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

BaryonUtils: update to autoView

This commit is contained in:
Raoul Hodgson 2020-06-25 16:41:58 +01:00
parent 39cea8b5a7
commit 102089798c

View File

@ -712,9 +712,9 @@ void BaryonUtils<FImpl>::Baryon_Gamma_3pt(
{ {
GridBase *grid = q_tf.Grid(); GridBase *grid = q_tf.Grid();
auto vcorr= stn_corr.View(); autoView( vcorr, stn_corr, CpuWrite);
auto vq_ti = q_ti.View(); autoView( vq_ti , q_ti, CpuRead);
auto vq_tf = q_tf.View(); autoView( vq_tf , q_tf, CpuRead);
if (group ==1) { if (group ==1) {
accelerator_for(ss, grid->oSites(), grid->Nsimd(), { accelerator_for(ss, grid->oSites(), grid->Nsimd(), {