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:
parent
5254ede2d8
commit
b77af0210b
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user