1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-19 00:07:05 +01:00

Fixes to enable GPU build. NB: Contractor and ContractorBenchmark still not working

This commit is contained in:
Michael Marshall
2019-10-14 22:27:08 +01:00
parent 88d6ff8f1d
commit 519ce19128
3 changed files with 18 additions and 7 deletions

View File

@ -649,7 +649,7 @@ void A2Autils<FImpl>::MesonField(TensorType &mat,
int ij_dx = m+Nmom*i + Nmom*Lblock * j + Nmom*Lblock * Rblock * lt;
for(int mu=0;mu<Ngamma;mu++){
// this is a bit slow
mat(m,mu,t,i,j) = trace(lsSum[ij_dx]*Gamma(gammas[mu]));
mat(m,mu,t,i,j) = (trace(lsSum[ij_dx]*Gamma(gammas[mu])))()()();
}
}
}