1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01: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();
auto vcorr= stn_corr.View();
auto vq_ti = q_ti.View();
auto vq_tf = q_tf.View();
autoView( vcorr, stn_corr, CpuWrite);
autoView( vq_ti , q_ti, CpuRead);
autoView( vq_tf , q_tf, CpuRead);
if (group ==1) {
accelerator_for(ss, grid->oSites(), grid->Nsimd(), {