Skip to content

test(rocfft): cover plan decomposition, buffer assignment and twiddle reuse - #12663

Draft
Abuudiii wants to merge 3 commits into
developfrom
users/Abdullah/rocfft-internal-test-planning
Draft

Abuudiii wants to merge 3 commits into
developfrom
users/Abdullah/rocfft-internal-test-planning

Conversation

@Abuudiii

@Abuudiii Abuudiii commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Split from #11272. The planning core had no unit tests and was not compiled into the internal test binary.

Technical Details

  • plan_test.cpp - decomposition, scheme choice, Bluestein selection, transpose fusion, buffer assignment
  • repo_test.cpp - twiddle and chirp tables are reused, not rebuilt

tests/CMakeLists.txt builds the planning sources into rocfft-internal-test and links hip::device. powX.cpp stays out because it carries device code, so rocfft_stub.cpp supplies its three functions behind ROCFFT_BUILD_INTERNAL_TEST. The shipping library is unchanged.

Test Plan

Built this branch alone on develop and ran every rocfft-internal-test case in its own process on MI210 (gfx90a), ROCm 7.1.0.

Test Result

16/16 new tests pass, 20/20 total.

The other test PRs split from #11272 each add one line to tests/CMakeLists.txt; merging this one first keeps their rebases trivial.

Submission Checklist

@therock-pr-bot

therock-pr-bot Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass —
🔎 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

Copy link
Copy Markdown

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

@Abuudiii Abuudiii self-assigned this Sep 28, 2026
@Abuudiii
Abuudiii marked this pull request as ready for review September 28, 2026 20:43
@Abuudiii
Abuudiii requested a review from a team as a code owner September 28, 2026 20:43
@Abuudiii
Abuudiii force-pushed the users/Abdullah/rocfft-internal-test-planning branch from bb69c6c to 5281658 Compare September 29, 2026 16:16
@codecov

codecov Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

❌ Your project check has failed because the head coverage (49.14%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12663      +/-   ##
===========================================
+ Coverage    70.61%   70.63%   +0.02%     
===========================================
  Files         2939     2939              
  Lines       483991   487452    +3461     
  Branches     69779    71169    +1390     
===========================================
+ Hits        341740   344267    +2527     
- Misses      118379   119290     +911     
- Partials     23872    23895      +23     
Flag Coverage Δ *Carryforward flag
TensileLite-CPP 48.82% <ø> (ø) Carriedforward from 03ccaf2
TensileLite-Unit 82.58% <ø> (ø) Carriedforward from 03ccaf2
hipBLAS 90.62% <ø> (ø) Carriedforward from 03ccaf2
hipBLASLt 35.55% <ø> (ø) Carriedforward from 03ccaf2
hipCUB 82.68% <ø> (ø) Carriedforward from 03ccaf2
hipDNN 86.70% <ø> (ø) Carriedforward from 03ccaf2
hipFFT 54.32% <ø> (ø) Carriedforward from 03ccaf2
hipRAND 76.12% <ø> (ø) Carriedforward from 03ccaf2
hipSOLVER 68.96% <ø> (ø) Carriedforward from 03ccaf2
hipSPARSE 86.99% <ø> (ø) Carriedforward from 03ccaf2
rocBLAS 48.25% <ø> (ø) Carriedforward from 03ccaf2
rocFFT 49.14% <ø> (+2.46%) ⬆️
rocRAND 57.42% <ø> (ø) Carriedforward from 03ccaf2
rocSOLVER 76.83% <ø> (ø) Carriedforward from 03ccaf2
rocSPARSE 74.75% <ø> (ø) Carriedforward from 03ccaf2
rocThrust 78.34% <ø> (ø) Carriedforward from 03ccaf2

*This pull request uses carry forward flags. Click here to find out more.
see 64 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.

@malcolmroberts malcolmroberts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Jira ticket is closed, but this isn't merged - can you clarify this please?

@Abuudiii Abuudiii closed this Oct 23, 2026
@Abuudiii Abuudiii reopened this Oct 23, 2026
@Abuudiii Abuudiii closed this Oct 28, 2026
@Abuudiii Abuudiii reopened this Oct 28, 2026
@Abuudiii
Abuudiii marked this pull request as draft November 4, 2026 16:18

This branch has not been deployed

No deployments
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.

2 participants