You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great find! Hmmm there is more to this, get to it in a sec... The top one shouldn't be happening: write - read == 0 whereas the h5dump case is not quite straightforward.
The first case is a clear bug. Thanks for letting me know! The second one is complicated: Linear algebra libraries mark the layout with transpose flag but HDF5 doesn't have this feature, leading to:
give up zero copy (performance) and copy each dataset from col major to row major. That is lot's of copying! Considering that the majority of scientific platforms are colmajor. In cases where not enough memory is left then it will fail
as a feature request: convince the HDFGroup to add a flag marking transpose
Will take a closer look when I can, until I am adding @gheber to the conversation.
best:
steve
Ok, let me know if you need some tests from me.
Then I wish HDFGroup consider to add a transpose flag!
In the meanwhile I'll transpose the data before writing them, or I'll do the trick of reverting be0a191
Consider this code:
That give this output:
That looks wrong in h5dump:
What I expected is:
Which is fine in h5dump too:
To have what I expected I must revert the commit "arma matrix rows/cols swapped to correct C/Fortran order mismatch" (be0a191)
Can you confirm that something is wrong in the library or I'm doing something stupid? :)
The text was updated successfully, but these errors were encountered: