Skip to content

Restore removed _EXT HIP datatype constants in hipblaslt-types.h#7078

Merged
bnemanich merged 1 commit into
developfrom
users/bnemanich/upstream_build_failure
May 6, 2026
Merged

Restore removed _EXT HIP datatype constants in hipblaslt-types.h#7078
bnemanich merged 1 commit into
developfrom
users/bnemanich/upstream_build_failure

Conversation

@bnemanich
Copy link
Copy Markdown
Contributor

@bnemanich bnemanich commented May 5, 2026

Summary

Commit 89b3fc4 ("[hipblaslt] Add support for gfx950 mxfp4" #6499) inadvertently removed three public _EXT datatype constants from projects/hipblaslt/library/include/hipblaslt/hipblaslt-types.h:

  • HIP_R_6F_E2M3_EXT = 31
  • HIP_R_6F_E3M2_EXT = 32
  • HIP_R_4F_E2M1_EXT = 33
    Only HIP_R_8F_E5M3_EXT = 34 was left in place. The original PR description for [hipblaslt] Add support for gfx950 mxfp4 #6499 explicitly stated that "_EXT HIP types are still accepted on the host side via aliases", so dropping these public constants was unintentional.

Motivation

These constants are part of the public hipBLASLt API surface and are referenced by downstream projects. Removing them is a source-breaking change for any consumer that includes hipblaslt-types.h and references HIP_R_6F_E2M3_EXT, HIP_R_6F_E3M2_EXT, or HIP_R_4F_E2M1_EXT.

Changes

  • Re-add the three removed _EXT constants in hipblaslt-types.h with their original integer values, alongside the existing HIP_R_8F_E5M3_EXT.

Backwards compatibility / risk

Submission Checklist

ROCM-24233

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

❌ Your project status has failed because the head coverage (77.83%) 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    #7078   +/-   ##
========================================
  Coverage    65.25%   65.25%           
========================================
  Files         2082     2082           
  Lines       323444   323444           
  Branches     42433    42433           
========================================
  Hits        211032   211032           
  Misses       94834    94834           
  Partials     17578    17578           
Flag Coverage Δ *Carryforward flag
hipBLAS 90.65% <ø> (ø) Carriedforward from c316013
hipBLASLt 39.82% <ø> (ø)
hipCUB 82.21% <ø> (ø) Carriedforward from c316013
hipDNN 85.50% <ø> (ø) Carriedforward from c316013
hipFFT 55.69% <ø> (ø) Carriedforward from c316013
hipRAND 76.12% <ø> (ø) Carriedforward from c316013
hipSOLVER 69.24% <ø> (ø) Carriedforward from c316013
hipSPARSE 84.70% <ø> (ø) Carriedforward from c316013
rocBLAS 48.11% <ø> (ø) Carriedforward from c316013
rocFFT 48.18% <ø> (ø) Carriedforward from c316013
rocPRIM 38.99% <ø> (ø) Carriedforward from c316013
rocRAND 57.03% <ø> (ø) Carriedforward from c316013
rocSOLVER 77.83% <ø> (ø) Carriedforward from c316013
rocSPARSE 72.82% <ø> (ø) Carriedforward from c316013

*This pull request uses carry forward flags. Click here to find out more.

🚀 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.

Copy link
Copy Markdown
Contributor

@talumbau talumbau left a comment

Choose a reason for hiding this comment

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

@bnemanich bnemanich merged commit 62c3651 into develop May 6, 2026
35 checks passed
@bnemanich bnemanich deleted the users/bnemanich/upstream_build_failure branch May 6, 2026 16:40
@yeandy
Copy link
Copy Markdown

yeandy commented May 8, 2026

Thanks!

aledudek pushed a commit that referenced this pull request May 20, 2026
…#7078)

## Summary
Commit 89b3fc4 ("[hipblaslt] Add support for gfx950 mxfp4" #6499)
inadvertently removed three public `_EXT` datatype constants from
`projects/hipblaslt/library/include/hipblaslt/hipblaslt-types.h`:
- `HIP_R_6F_E2M3_EXT = 31`
- `HIP_R_6F_E3M2_EXT = 32`
- `HIP_R_4F_E2M1_EXT = 33`
Only `HIP_R_8F_E5M3_EXT = 34` was left in place. The original PR
description for #6499 explicitly stated that "`_EXT` HIP types are still
accepted on the host side via aliases", so dropping these public
constants was unintentional.

## Motivation
These constants are part of the public hipBLASLt API surface and are
referenced by downstream projects. Removing them is a source-breaking
change for any consumer that includes `hipblaslt-types.h` and references
`HIP_R_6F_E2M3_EXT`, `HIP_R_6F_E3M2_EXT`, or `HIP_R_4F_E2M1_EXT`.

## Changes
- Re-add the three removed `_EXT` constants in `hipblaslt-types.h` with
their original integer values, alongside the existing
`HIP_R_8F_E5M3_EXT`.

## Backwards compatibility / risk
- Pure restoration of previously-public constants with their original
values — no behavioral change inside hipBLASLt.
- Unblocks downstream builds that broke after #6499 landed.


## Submission Checklist

- [ ] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.
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