mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Fixed files giving zero force computation on GPU, issue #8
This commit is contained in:
parent
88bdd4344b
commit
b10e1b7bc8
@ -133,8 +133,7 @@ public:
|
|||||||
|
|
||||||
for (int a = 0; a < Dimension; a++) {
|
for (int a = 0; a < Dimension; a++) {
|
||||||
generator(a, iTa);
|
generator(a, iTa);
|
||||||
LatticeComplex tmp = real(trace(iTa * in)) * coefficient;
|
pokeColour(h_out, real(trace(iTa * in)) * coefficient, a);
|
||||||
pokeColour(h_out, tmp, a);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -224,8 +224,7 @@ public:
|
|||||||
// 2/(Nc +/- 2) for the normalization of the trace in the two index rep
|
// 2/(Nc +/- 2) for the normalization of the trace in the two index rep
|
||||||
for (int a = 0; a < ncolour * ncolour - 1; a++) {
|
for (int a = 0; a < ncolour * ncolour - 1; a++) {
|
||||||
generator(a, i2indTa);
|
generator(a, i2indTa);
|
||||||
auto tmp = real(trace(i2indTa * in)) * coefficient;
|
pokeColour(h_out, real(trace(i2indTa * in)) * coefficient, a);
|
||||||
pokeColour(h_out, tmp, a);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -273,8 +273,7 @@ public:
|
|||||||
// 2/(Nc +/- 2) for the normalization of the trace in the two index rep
|
// 2/(Nc +/- 2) for the normalization of the trace in the two index rep
|
||||||
for (int a = 0; a < NumGenerators; a++) {
|
for (int a = 0; a < NumGenerators; a++) {
|
||||||
generator(a, i2indTa);
|
generator(a, i2indTa);
|
||||||
auto tmp = real(trace(i2indTa * in)) * coefficient;
|
pokeColour(h_out, real(trace(i2indTa * in)) * coefficient, a);
|
||||||
pokeColour(h_out, tmp, a);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user