mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-08 08:48:06 +01:00
Update BinaryIO.h
This commit is contained in:
1 parent
5adf2657dd
commit
473635f401
1 file changed
+4
-2
@@ -387,10 +387,11 @@ class BinaryIO {
|
||||
GRID_ASSERT(fin.fail() == 0);
|
||||
fin.close();
|
||||
}
|
||||
timer.Stop();
|
||||
|
||||
|
||||
grid->Barrier();
|
||||
|
||||
timer.Stop();
|
||||
|
||||
bstimer.Start();
|
||||
ScidacChecksum(grid,iodata,scidac_csuma,scidac_csumb);
|
||||
if (ieee32big) be32toh_v((void *)&iodata[0], sizeof(fobj)*iodata.size());
|
||||
@@ -506,6 +507,7 @@ class BinaryIO {
|
||||
offset = fout.tellp();
|
||||
fout.close();
|
||||
}
|
||||
grid->Barrier();
|
||||
timer.Stop();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user