Skip to content

fix(rocsparse): fix smoke and extended tests - #12985

Merged
jsandham merged 3 commits into
ROCm:developfrom
jsandham:fix_smoke_tests
Oct 8, 2026
Merged

jsandham merged 3 commits into
ROCm:developfrom
jsandham:fix_smoke_tests

Conversation

@jsandham

@jsandham jsandham commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Before the PR #10500 we were running tests that were not valid but instead of failing were just silently skipped. For example, prune_dense2csr is only supported for float and double but if we ran using single_double_precisions_complex_real in the test_prune_dense2csr.yaml, the complex precision tests would be silently skipped. What the PR #10500 does is fix that so that the test fails with a message instead of silently failing. This allows developers to see when they are adding invalid tests and remove them.

What the PR #10500 forgot to do was to check the rocsparse_smoke.yaml, rocsparse_regression.yaml, and rocsparse_extended.yaml tests to make sure that they had any invalid tests removed. The is now causing errors when running:

GTEST_LISTENER=VERBOSE_PASS_IN_LOG ./rocsparse-test --yaml rocsparse_smoke.yaml

or

GTEST_LISTENER=VERBOSE_PASS_IN_LOG ./rocsparse-test --yaml rocsparse_extended.yaml --matrices-dir ../matrices

This PR fixes these errors by removing the invalid tests from rocsparse_smoke.yaml and rocsparse_extended.yaml.

JIRA ID: ROCM-32122

@jsandham
jsandham requested a review from a team as a code owner October 2, 2026 18:40
@therock-pr-bot

therock-pr-bot Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass PR does not contain code files — Unit Test auto-passed
🔎 pre-commit ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —
🤖 therock-pr-bot ✅ Pass —

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

@therock-pr-bot

therock-pr-bot Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

@codecov

codecov Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12985      +/-   ##
===========================================
- Coverage    71.93%   71.00%   -0.92%     
===========================================
  Files         2863     2944      +81     
  Lines       472710   485987   +13277     
  Branches     69829    70094     +265     
===========================================
+ Hits        340010   345068    +5058     
- Misses      109117   116981    +7864     
- Partials     23583    23938     +355     
Flag Coverage Δ *Carryforward flag
TensileLite-CPP 49.02% <ø> (-0.31%) ⬇️ Carriedforward from d830471
TensileLite-Unit 83.28% <ø> (-0.01%) ⬇️ Carriedforward from d830471
hipBLAS 90.62% <ø> (ø) Carriedforward from d830471
hipBLASLt 38.65% <ø> (-0.26%) ⬇️ Carriedforward from d830471
hipCUB 82.68% <ø> (ø) Carriedforward from d830471
hipDNN 86.64% <ø> (-<0.01%) ⬇️ Carriedforward from d830471
hipFFT 54.32% <ø> (+10.89%) ⬆️ Carriedforward from d830471
hipRAND 76.12% <ø> (ø) Carriedforward from d830471
hipSOLVER 68.96% <ø> (ø) Carriedforward from d830471
hipSPARSE 86.99% <ø> (ø) Carriedforward from d830471
rocBLAS 48.25% <ø> (ø) Carriedforward from d830471
rocFFT 48.78% <ø> (+1.16%) ⬆️ Carriedforward from d830471
rocRAND 57.42% <ø> (-0.03%) ⬇️ Carriedforward from d830471
rocSOLVER 76.83% <ø> (ø) Carriedforward from d830471
rocSPARSE 74.64% <ø> (ø)
rocThrust 78.45% <ø> (-14.70%) ⬇️ Carriedforward from d830471

*This pull request uses carry forward flags. Click here to find out more.
see 179 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jsandham
jsandham merged commit 0d2e8b4 into ROCm:develop Oct 8, 2026
197 of 200 checks passed
assistant-librarian Bot pushed a commit to ROCm/rocSPARSE that referenced this pull request Oct 8, 2026
fix(rocsparse): fix smoke and extended tests

## Motivation

Before the PR ROCm/rocm-libraries#10500 we were
running tests that were not valid but instead of failing were just
silently skipped. For example, `prune_dense2csr` is only supported for
`float` and `double` but if we ran using
`single_double_precisions_complex_real` in the
`test_prune_dense2csr.yaml`, the complex precision tests would be
silently skipped. What the PR
ROCm/rocm-libraries#10500 does is fix that so
that the test fails with a message instead of silently failing. This
allows developers to see when they are adding invalid tests and remove
them.

What the PR ROCm/rocm-libraries#10500 forgot to
do was to check the `rocsparse_smoke.yaml`, `rocsparse_regression.yaml`,
and `rocsparse_extended.yaml` tests to make sure that they had any
invalid tests removed. The is now causing errors when running:

`GTEST_LISTENER=VERBOSE_PASS_IN_LOG ./rocsparse-test --yaml
rocsparse_smoke.yaml`

 or

`GTEST_LISTENER=VERBOSE_PASS_IN_LOG ./rocsparse-test --yaml
rocsparse_extended.yaml --matrices-dir ../matrices`

This PR fixes these errors by removing the invalid tests from
`rocsparse_smoke.yaml` and `rocsparse_extended.yaml`.

JIRA ID: ROCM-32122
@assistant-librarian

Copy link
Copy Markdown
Contributor

TheRock Submodule Bump Activity

Newest first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants