Skip to content

Respect MFMA arch disablement in CI - #2455

Open
justinrosner wants to merge 1 commit into
developfrom
justinr-node-selection
Open

Respect MFMA arch disablement in CI#2455
justinrosner wants to merge 1 commit into
developfrom
justinr-node-selection

Conversation

@justinrosner

Copy link
Copy Markdown
Contributor

Motivation

Ensure PR and nightly MFMA CI jobs respect the architecture disable parameters. Previously, MFMA jobs could still run on any one of gfx908, gfx90a, or gfx942 even if those archs were explicitly disabled. This now matches the behavior that we can get for other archs (gfx950, Navi3x, etc.)

This is a port of https://github.com/ROCm/rocmlirTriton/pull/427 from rocmlirTriton.

Technical Details

  • Build the MFMA Jenkins node label dynamically from the enabled gfx908, gfx90a, and gfx942 architectures.
  • Apply the enabled-architecture check when deciding whether to run the MFMA codepath.
  • Skip MFMA testing when all supported MFMA architectures are disabled.

NOTE: rocMLIR already respects these disable flags in shouldRunFromChip() for chip specific tuning and performance matrix rows. However, build/test and other codepath-based rows still needed updating.

Test Plan

  • PR CI

Test Result

  • PR CI

Submission Checklist

@justinrosner
justinrosner requested a review from causten as a code owner August 17, 2026 23:41
Copilot AI lite review requested due to automatic review settings August 17, 2026 23:41

Copilot AI 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.

Pull request overview

This PR updates the Jenkins pipeline logic for the mfma codepath so that MFMA CI jobs only run on explicitly enabled MFMA-capable architectures (gfx908/gfx90a/gfx942), matching existing “disable arch” behavior used elsewhere in the pipeline.

Changes:

  • Add a helper to compute the set of enabled MFMA architectures from disable908/disable90a/disable942.
  • Build the MFMA Jenkins node label dynamically from the enabled architecture set.
  • Prevent MFMA codepath execution when all supported MFMA architectures are disabled.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +1031 to +1034
def architectures = getEnabledMfmaArchitectures()
if (architectures.isEmpty()) {
error 'mfma codepath selected but all of gfx942/gfx908/gfx90a are disabled'
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2455      +/-   ##
===========================================
+ Coverage    82.57%   83.59%   +1.02%     
===========================================
  Files          120      121       +1     
  Lines        42852    43182     +330     
  Branches      7110     7181      +71     
===========================================
+ Hits         35381    36095     +714     
+ Misses        4815     4513     -302     
+ Partials      2656     2574      -82     
Flag Coverage Δ
gfx120x 83.43% <ø> (+0.91%) ⬆️
gfx950 83.47% <ø> (+1.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 46 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants