mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-08 00:38:06 +01:00
Shaken out stencil to the point where I think wilson dslash is correct.
Need to audit code carefully, consolidate between stencil and cshift, and then benchmark and optimise.
This commit is contained in:
1 parent
0b7d389258
commit
b0485894b3
24 files changed
+599
-605
No files matched your search
@@ -28,6 +28,7 @@ int main (int argc, char ** argv)
|
||||
std::vector<int> seeds({1,2,3,4});
|
||||
|
||||
GridParallelRNG pRNG(&Grid);
|
||||
// std::vector<int> seeds({1,2,3,4});
|
||||
// pRNG.SeedFixedIntegers(seeds);
|
||||
pRNG.SeedRandomDevice();
|
||||
|
||||
@@ -44,7 +45,7 @@ int main (int argc, char ** argv)
|
||||
U[mu] = peekIndex<3>(Umu,mu);
|
||||
}
|
||||
|
||||
std::vector<int> mask({0,0,0,0,1,0,0,0});
|
||||
std::vector<int> mask({1,1,1,1,1,1,1,1});
|
||||
{ // Naive wilson implementation
|
||||
ref = zero;
|
||||
for(int mu=0;mu<Nd;mu++){
|
||||
|
||||
Reference in new issue
Block a user