Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aartbik
Copy link
Collaborator

@aartbik aartbik commented Jun 26, 2025

No description provided.

@aartbik aartbik requested review from cliffburdick and Copilot June 26, 2025 22:34
@copy-pr-bot
Copy link

copy-pr-bot bot commented Jun 26, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Copy link
Contributor

Copilot AI left a 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) {

@cliffburdick
Copy link
Collaborator

/build

Copy link
Collaborator

@cliffburdick cliffburdick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few comments

@aartbik aartbik requested a review from cliffburdick June 27, 2025 19:57
@cliffburdick
Copy link
Collaborator

/build

1 similar comment
@cliffburdick
Copy link
Collaborator

/build

@cliffburdick cliffburdick merged commit c7e5d8e into NVIDIA:main Jun 30, 2025
1 check passed
@cliffburdick cliffburdick deleted the bik branch June 30, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants