1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Host memory explict

This commit is contained in:
Peter Boyle 2020-11-12 20:29:58 +01:00
parent 41e28015ae
commit f16c2665f5

View File

@ -94,8 +94,8 @@ int main (int argc, char ** argv)
RealD Nnode = Grid.NodeCount(); RealD Nnode = Grid.NodeCount();
RealD ppn = Nrank/Nnode; RealD ppn = Nrank/Nnode;
std::vector<Vector<HalfSpinColourVectorD> > xbuf(8); std::vector<std::vector<HalfSpinColourVectorD> > xbuf(8);
std::vector<Vector<HalfSpinColourVectorD> > rbuf(8); std::vector<std::vector<HalfSpinColourVectorD> > rbuf(8);
for(int mu=0;mu<8;mu++){ for(int mu=0;mu<8;mu++){
xbuf[mu].resize(lat*lat*lat*Ls); xbuf[mu].resize(lat*lat*lat*Ls);