-
Notifications
You must be signed in to change notification settings - Fork 16
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 an ordering for cuDSS #317
Conversation
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.
Thanks, @amontoison! I only have small comments
@sshin23 How can I test this new option with the following tests: |
It can be done by adding
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #317 +/- ##
=======================================
Coverage 69.80% 69.80%
=======================================
Files 39 39
Lines 3888 3888
=======================================
Hits 2714 2714
Misses 1174 1174 ☔ View full report in Codecov by Sentry. |
We have a segmentation fault with cuDSS if we provide our own permutation... :( |
Hmm... maybe1-based indexing is causing an issue again? If it is possible to turn off the ordering, manual ordering is always an option. https://github.com/MadNLP/MadNLP.jl/blob/master/lib/MadNLPGPU/src/cusolverrf.jl#L237-L252 |
cuDSS uses METIS internally but we want to compare the linear solvers on CPU / GPU with the same ordering. |
Right. That can be implemented by turning off the ordering from the CUDSS side (if possible) and manually reordering the matrix before sending it to CUDSS, based on whatever ordering method we want to apply |
We can't turn off the ordering with the version 0.1.0 or 0.2.0. I will send an email to ask this feature for the next release. |
aec3bc3
to
1ed792a
Compare
1ed792a
to
3e16299
Compare
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 great! Thanks @amontoison for the contribution. I'll merge it once the naming is fixed
@frapac @sshin23 @michel2323