mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Hadrons: reverse A2A matrix load for better DiskVector cache reuse
This commit is contained in:
parent
f333f3e575
commit
a7cfa26901
@ -318,8 +318,9 @@ void A2AMatrixIo<T>::load(Vec<VecT> &v, double *tRead)
|
|||||||
std::cout << "Loading timeslice";
|
std::cout << "Loading timeslice";
|
||||||
std::cout.flush();
|
std::cout.flush();
|
||||||
*tRead = 0.;
|
*tRead = 0.;
|
||||||
for (unsigned int t = 0; t < nt_; ++t)
|
for (unsigned int tp1 = nt_; tp1 > 0; --tp1)
|
||||||
{
|
{
|
||||||
|
unsigned int t = tp1 - 1;
|
||||||
std::vector<hsize_t> offset = {static_cast<hsize_t>(t), 0, 0};
|
std::vector<hsize_t> offset = {static_cast<hsize_t>(t), 0, 0};
|
||||||
|
|
||||||
if (t % 10 == 0)
|
if (t % 10 == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user