-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Random-access for variable-based encoding (i.e. use SetStepSelection for ADIOS2 steps) #1706
Conversation
4f7284b
to
585b084
Compare
238fcd1
to
688ffa9
Compare
e3559c5
to
ecf7039
Compare
e41f041
to
9475398
Compare
9475398
to
7736fbd
Compare
#1711 merged, ready for rebase :) |
7736fbd
to
4bc01e1
Compare
done ;) |
Note to self: Benchmark this on a Series with many Iterations, compare with group/file encoding and with variable encoding in linear access |
@@ -638,8 +672,13 @@ struct OPENPMDAPI_EXPORT Parameter<Operation::ADVANCE> | |||
new Parameter<Operation::ADVANCE>(std::move(*this))); | |||
} | |||
|
|||
struct StepSelection | |||
{ | |||
std::optional<size_t> step; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please include <optional>
for stability in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, I've also removed an unused <map>
import
This covers the use case that the snapshot attribute has more than just one entry.
Previously implementation did not work: ornladios/ADIOS2#4466
4bc01e1
to
b9158a6
Compare
TODO: