1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Thread loop. Probably deprecate this impl

This commit is contained in:
Peter Boyle 2019-06-15 12:44:56 +01:00
parent 5254ede2d8
commit b77af0210b

View File

@ -114,7 +114,7 @@ public:
inline void InsertGaugeField(DoubledGaugeField &U_ds,const GaugeLinkField &U,int mu) inline void InsertGaugeField(DoubledGaugeField &U_ds,const GaugeLinkField &U,int mu)
{ {
GridBase *GaugeGrid = U_ds.Grid(); GridBase *GaugeGrid = U_ds.Grid();
thread_loop( (int lidx = 0; lidx < GaugeGrid->lSites(); lidx++), { thread_for(lidx, GaugeGrid->lSites(),{
SiteScalarGaugeLink ScalarU; SiteScalarGaugeLink ScalarU;
SiteDoubledGaugeField ScalarUds; SiteDoubledGaugeField ScalarUds;