-
Notifications
You must be signed in to change notification settings - Fork 107
implement *batched* tri-diagonal direct solve #999
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
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.
Pull Request Overview
This pull request implements support for batched tri‐diagonal direct solves in the library. Key changes include:
- Updating the single tri‐diagonal solver interface to use a dedicated output parameter.
- Adding a new function (SolveBatchedTridiagonalSystem) to support batched tri‐diagonal solves.
- Updating sparse tensor format definitions and factory functions to support uniform batched DIA formats.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| include/matx/transforms/solve/solve_cusparse.h | Updated single solver interface and added batched solver API |
| include/matx/core/sparse_tensor_format.h | Modified format checks for DIA and added batched DIA uniform support |
| include/matx/core/make_sparse_tensor.h | Added factory method for uniform batched DIA tensor creation |
| examples/sparse_tensor.cu | Provided an example for batched direct solve implementation |
| docs_input/basics/sparse_tensor.rst | Updated documentation to reflect batched tri‐diagonal support |
Comments suppressed due to low confidence (2)
include/matx/transforms/solve/solve_cusparse.h:54
- [nitpick] Consider renaming the parameter 'x' to something more descriptive (e.g. 'rhs' or 'out') to clarify its role as the solution output.
VAL *x) {
include/matx/transforms/solve/solve_cusparse.h:101
- [nitpick] Consider renaming the parameter 'b' (which represents the batch count) to 'batch' for improved readability and to avoid potential confusion with the right-hand side pointer.
VAL *du, VAL *x) {
|
/build |
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.
few comments
Co-authored-by: Cliff Burdick <[email protected]>
|
/build |
1 similar comment
|
/build |
No description provided.