Skip to content

feat(hipBLASLt): add tuned gfx942 228-CU bf16 (BBS) grid-based logic - #12858

Merged
NaveenElumalaiAMD merged 1 commit into
developfrom
users/nelumala/hipBLASLt/add-bbs-MI300A-liblogic
Oct 3, 2026
Merged

NaveenElumalaiAMD merged 1 commit into
developfrom
users/nelumala/hipBLASLt/add-bbs-MI300A-liblogic

Conversation

@NaveenElumalaiAMD

@NaveenElumalaiAMD NaveenElumalaiAMD commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

JIRA ID : https://amd-hub.atlassian.net/browse/AIHPBLAS-3402

Motivation

Adds tuned grid-based library logic for bf16 (BBS) GEMM on the 228-CU MI300A variant of gfx942

Technical Details

  • Adds 4 new GridBased logic files under gfx942_228cu/GridBased/, covering all 4 transpose layouts (Ailk_Bjlk, Ailk_Bljk, Alik_Bjlk, Alik_Bljk) for bf16 (BSS), gated by the same {Architecture: gfx942, CUCount: 228, UseKdTree: true} predicate as the existing DGEMM tables.

  • Converted to dict-format library logic YAML (equivalence verified against the original list-format files via the Tensile library-logic comparison tool).

    Test Plan

    ROCBLAS_USE_HIPBLASLT=1 ./rocblas-test --gtest_filter='*blas3_tensile*f16_r*-*known_bug*:*graph_test*'

    Test Result

    Total Passed Skipped
    490,300 488,903 1,397

    Perf comparison, cycle 2 (02:05), GFLOPS:

    config tn (GFLOPS) hb (GFLOPS) ratio
    1 GPU, N=145920 2.329e5 3.151e5 1.35×
    2 GPU, N=204800 3.455e5 3.596e5 1.04×
    4 GPU, N=291840 6.508e5 6.667e5 1.02×

@therock-pr-bot

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

Copy link
Copy Markdown

⏳ Waiting on Required Checks

⏳ Required checks have not all concluded yet. This bot run is exiting without failing so those checks can report independently.

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

⏳ Required checks are still running or have not started yet.
This PR is not ready for review until they complete.

📖 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 1, 2026 •

Copy link
Copy Markdown

⏳ Waiting for required checks to start or finish:

  • ⏳ pre-commit

@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12858      +/-   ##
===========================================
+ Coverage    70.67%   70.68%   +0.01%     
===========================================
  Files         2940     2940              
  Lines       484469   484570     +101     
  Branches     69874    69880       +6     
===========================================
+ Hits        342358   342485     +127     
+ Misses      118211   118190      -21     
+ Partials     23900    23895       -5     
Flag Coverage Δ *Carryforward flag
TensileLite-CPP 48.82% <ø> (ø)
TensileLite-Unit 82.64% <ø> (+0.06%) ⬆️
hipBLAS 90.62% <ø> (ø) Carriedforward from 17975eb
hipBLASLt 35.59% <ø> (ø) Carriedforward from 17975eb
hipCUB 82.68% <ø> (ø) Carriedforward from 17975eb
hipDNN 86.64% <ø> (ø) Carriedforward from 17975eb
hipFFT 54.32% <ø> (ø) Carriedforward from 17975eb
hipRAND 76.12% <ø> (ø) Carriedforward from 17975eb
hipSOLVER 68.96% <ø> (ø) Carriedforward from 17975eb
hipSPARSE 86.99% <ø> (ø) Carriedforward from 17975eb
rocBLAS 48.24% <ø> (ø) Carriedforward from 17975eb
rocFFT 47.11% <ø> (ø) Carriedforward from 17975eb
rocRAND 57.42% <ø> (ø) Carriedforward from 17975eb
rocSOLVER 76.83% <ø> (ø) Carriedforward from 17975eb
rocSPARSE 74.75% <ø> (ø) Carriedforward from 17975eb
rocThrust 78.45% <ø> (ø) Carriedforward from 17975eb

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

@NaveenElumalaiAMD
NaveenElumalaiAMD merged commit 300c745 into develop Oct 3, 2026
354 of 399 checks passed
@NaveenElumalaiAMD
NaveenElumalaiAMD deleted the users/nelumala/hipBLASLt/add-bbs-MI300A-liblogic branch October 3, 2026 00:51
assistant-librarian Bot pushed a commit to ROCm/hipBLASLt that referenced this pull request Oct 3, 2026
feat(hipBLASLt): add tuned gfx942 228-CU bf16 (BBS)
 grid-based logic (#12858)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

JIRA ID : https://amd-hub.atlassian.net/browse/AIHPBLAS-3402

## Motivation

Adds tuned grid-based library logic for bf16 (BBS) GEMM on the 228-CU
MI300A variant of gfx942

  ## Technical Details

- Adds 4 new `GridBased` logic files under `gfx942_228cu/GridBased/`,
covering all 4 transpose layouts (`Ailk_Bjlk`, `Ailk_Bljk`, `Alik_Bjlk`,
`Alik_Bljk`) for bf16 (`BSS`), gated by the same `{Architecture: gfx942,
CUCount: 228, UseKdTree: true}` predicate as the existing DGEMM tables.
- Converted to dict-format library logic YAML (equivalence verified
against the original list-format files via the Tensile library-logic
comparison tool).

  ## Test Plan

`ROCBLAS_USE_HIPBLASLT=1 ./rocblas-test
--gtest_filter='*blas3_tensile*f16_r*-*known_bug*:*graph_test*'`

  ## Test Result

  | Total | Passed | Skipped |
  |---:|---:|---:|
  | 490,300 | 488,903 | 1,397 |

  Perf comparison, cycle 2 (02:05), GFLOPS:

  | config | tn (GFLOPS) | hb (GFLOPS) | ratio |
  |---|---:|---:|---:|
  | 1 GPU, N=145920 | 2.329e5 | 3.151e5 | 1.35× |
  | 2 GPU, N=204800 | 3.455e5 | 3.596e5 | 1.04× |
  | 4 GPU, N=291840 | 6.508e5 | 6.667e5 | 1.02× |
@assistant-librarian

Copy link
Copy Markdown
Contributor

TheRock Submodule Bump Activity

Newest first

assistant-librarian Bot pushed a commit to ROCm/hipBLASLt that referenced this pull request Oct 10, 2026
Revert "feat(hipBLASLt): add tuned gfx942 228-CU bf16 (BBS)
 grid-based logic" (#13440)

JIRA ID : https://amd-hub.atlassian.net/browse/AIHPBLAS-3402

Reverts ROCm/rocm-libraries#12858
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