mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-15 10:15:36 +00:00
Fixed array bounds
This commit is contained in:
parent
c0badc3e16
commit
dc6b0f20b2
@ -444,7 +444,7 @@ public:
|
|||||||
// Ls loop for2D
|
// Ls loop for2D
|
||||||
int Ls=this->Ls;
|
int Ls=this->Ls;
|
||||||
std::cout << "Dw for2d"<<std::endl;
|
std::cout << "Dw for2d"<<std::endl;
|
||||||
accelerator_for2d(sF, osites*Ls, b, nbasis, Nsimd, {
|
accelerator_for2d(sF, osites, b, nbasis, Nsimd, {
|
||||||
|
|
||||||
int sU = sF/Ls;
|
int sU = sF/Ls;
|
||||||
int s = sF%Ls;
|
int s = sF%Ls;
|
||||||
@ -470,7 +470,6 @@ public:
|
|||||||
}
|
}
|
||||||
coalescedWrite(out_v[sF](b),res);
|
coalescedWrite(out_v[sF](b),res);
|
||||||
});
|
});
|
||||||
exit(0);
|
|
||||||
std::cout << "Dw closing"<<std::endl;
|
std::cout << "Dw closing"<<std::endl;
|
||||||
for(int p=0;p<geom.npoint;p++) AcceleratorViewContainer[p].ViewClose();
|
for(int p=0;p<geom.npoint;p++) AcceleratorViewContainer[p].ViewClose();
|
||||||
};
|
};
|
||||||
@ -718,9 +717,11 @@ int main (int argc, char ** argv)
|
|||||||
GridParallelRNG CRNG(Coarse5d);CRNG.SeedFixedIntegers(seeds);
|
GridParallelRNG CRNG(Coarse5d);CRNG.SeedFixedIntegers(seeds);
|
||||||
|
|
||||||
LatticeGaugeField Umu(UGrid);
|
LatticeGaugeField Umu(UGrid);
|
||||||
FieldMetaData header;
|
SU3::TepidConfiguration(RNG4,Umu);
|
||||||
std::string file("./ckpoint_lat.4000");
|
|
||||||
NerscIO::readConfiguration(Umu,header,file);
|
// FieldMetaData header;
|
||||||
|
// std::string file("./ckpoint_lat.4000");
|
||||||
|
// NerscIO::readConfiguration(Umu,header,file);
|
||||||
|
|
||||||
std::cout<<GridLogMessage << "**************************************************"<< std::endl;
|
std::cout<<GridLogMessage << "**************************************************"<< std::endl;
|
||||||
std::cout<<GridLogMessage << "Building g5R5 hermitian DWF operator" <<std::endl;
|
std::cout<<GridLogMessage << "Building g5R5 hermitian DWF operator" <<std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user