-
Notifications
You must be signed in to change notification settings - Fork 21
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 nonuniform tile sizes, device distributions, and grid orders to even more testers (depends on #143) #157
Add nonuniform tile sizes, device distributions, and grid orders to even more testers (depends on #143) #157
Conversation
4e12da3
to
a6ea276
Compare
Yes, the draft status was just waiting for #143. |
a6ea276
to
3bc5090
Compare
I rebased this on top of the current master with the merged-in #143. There were some merge conflicts, which hopefully I managed correctly. (I did them twice and compared to make sure.) |
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.
Some initial comments. More to come...
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.
I'll see what I can fix. Some comments are for future work.
This PR continues the work of #143 to add support for nonuniform tile sizes, device distributions, and grid orders to more testers. I also made a couple of related warning messages more consistent. However, I didn't change the defaults of
run-tests.py
to test the added configurations.The change is largely realized by refactoring the matrix creation logic into a helper function. This helps reduce the amount of duplicate code, which actually reduces the line count and the executable size a little bit.
Other improvements
henorm
andsynorm
when tiles are nonuniformtest/scalapack_support_routines.hh
since it's no longer useddev-dist
param was flipped to matchslate/func.hh
This PR ended up longer than intended. I'd probably suggest starting with
test/test_util.hh
,test/matrix_util.hh
, andtest/matrix_util.cc
. Also, the norm testers have some big indent changes, so I'd suggest reviewing that diff with "ignore whitespace" enabled.Diff w/ #143