Skip to content

Conversation

@aartbik
Copy link
Collaborator

@aartbik aartbik commented Jun 26, 2025

Note, this is waiting for #999

@aartbik aartbik requested review from cliffburdick and Copilot June 26, 2025 23: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 PR adds a new unit test for the batched uniform DIA direct solver in the DiaSolveSparseTestsAll suite, verifying that solve correctly handles multiple small tridiagonal systems in a batched form.

  • Introduce SolveBatchedUniformDIAI typed test to cover uniform-batched DIA solves
  • Set up diagonal data (D), offsets (O), and RHS/expected tensors (X, E) for two 4×4 systems
  • Invoke solve(A, X) and assert near-equality against expected results for both real and complex types
Comments suppressed due to low confidence (2)

test/00_sparse/Dia.cu:241

  • [nitpick] The ASCII-art comments describing matrix layout (lines 241–245) are hard to follow and partially redundant. Consider simplifying or aligning the diagram with the data ordering in D.
  // batch0          batch1             batch0       batch1

test/00_sparse/Dia.cu:279

  • [nitpick] The comment on line 280 labels 'RHS' but then repeats matrix values; update it to clearly show that it's the RHS (A * E = X) or adjust the diagram to match what's being described.
  // RHS.

@cliffburdick
Copy link
Collaborator

/build

3 similar comments
@cliffburdick
Copy link
Collaborator

/build

@cliffburdick
Copy link
Collaborator

/build

@cliffburdick
Copy link
Collaborator

/build

@aartbik
Copy link
Collaborator Author

aartbik commented Jun 30, 2025

Merged with #999, this is now good to go!

@cliffburdick
Copy link
Collaborator

/build

@aartbik aartbik merged commit 72977b9 into NVIDIA:main Jun 30, 2025
1 check passed
@aartbik aartbik deleted the bak branch June 30, 2025 19:14
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