-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add HDF5 input and output files to eigensolver miniapp #973
Conversation
miniapp/miniapp_eigensolver.cpp
Outdated
ConstHostMatrixType matrix_ref = [comm_grid, &opts]() { | ||
#ifdef DLAF_WITH_HDF5 | ||
if (opts.input_file) { | ||
Matrix<T, Device::CPU> input = opts.input_file->read<T>("/a", {opts.mb, opts.mb}); |
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.
Matrix<T, Device::CPU> input = opts.input_file->read<T>("/a", {opts.mb, opts.mb}); | |
Matrix<T, Device::CPU> input = opts.input_file->read<T>("/input", {opts.mb, opts.mb}); |
?
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.
Looks reasonable to me.
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.
LGTM!
Thanks for adapting also the other miniapp. 😉
cscs-ci run |
cscs-ci run |
cscs-ci run |
HDF5 doesn't seem to be enabled in CI, is it? I added |
cscs-ci run |
Add HDF5 input and output files to eigensolver miniapp.
I used
/a
temporarily (it's what I had in an HDF5 I'm using), but I'm open to better suggestions. Maybe/input
would do.