mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-03 18:55:56 +01:00
Merge branch 'develop' into feature/gparity_HMC
This commit is contained in:
commit
d10d0c4e7f
@ -106,11 +106,15 @@ public:
|
|||||||
const _SpinorField & phi,
|
const _SpinorField & phi,
|
||||||
int mu)
|
int mu)
|
||||||
{
|
{
|
||||||
|
const int Nsimd = SiteHalfSpinor::Nsimd();
|
||||||
autoView( out_v, out, AcceleratorWrite);
|
autoView( out_v, out, AcceleratorWrite);
|
||||||
autoView( phi_v, phi, AcceleratorRead);
|
autoView( phi_v, phi, AcceleratorRead);
|
||||||
autoView( Umu_v, Umu, AcceleratorRead);
|
autoView( Umu_v, Umu, AcceleratorRead);
|
||||||
accelerator_for(sss,out.Grid()->oSites(),1,{
|
typedef decltype(coalescedRead(out_v[0])) calcSpinor;
|
||||||
multLink(out_v[sss],Umu_v[sss],phi_v[sss],mu);
|
accelerator_for(sss,out.Grid()->oSites(),Nsimd,{
|
||||||
|
calcSpinor tmp;
|
||||||
|
multLink(tmp,Umu_v[sss],phi_v(sss),mu);
|
||||||
|
coalescedWrite(out_v[sss],tmp);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,8 +117,8 @@ int main (int argc, char ** argv)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
std::cout<<GridLogMessage <<"Using cold configuration"<<std::endl;
|
std::cout<<GridLogMessage <<"Using cold configuration"<<std::endl;
|
||||||
SU<Nc>::ColdConfiguration(Umu);
|
//SU<Nc>::ColdConfiguration(Umu);
|
||||||
// SU<Nc>::HotConfiguration(RNG4,Umu);
|
SU<Nc>::HotConfiguration(RNG4,Umu);
|
||||||
}
|
}
|
||||||
|
|
||||||
RealD mass=0.3;
|
RealD mass=0.3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user