Skip to content

Conversation

djramic
Copy link
Contributor

@djramic djramic commented Sep 30, 2025

Motivation

close: https://github.com/ROCm/rocMLIR-internal/issues/1929

Technical Details

This PR enables the LDSBankConflict counter on gfx942, as it was added to rocprof after ROCm 7.0.
There is still no counters for gfx950.

Test Plan

CI tests

@djramic djramic requested a review from causten as a code owner September 30, 2025 12:52

def getProfilerOutputPath(arch: str, baseOutPath):
chip = GFX_CHIP_RE.search(arch).group(0)
# TODO (gfx950): check if gfx950 need this
Copy link
Contributor

Choose a reason for hiding this comment

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

please, can you remove the TODO?

current_dir = os.path.dirname(os.path.abspath(__file__))
metrics_path = os.path.join(current_dir, ROCMLIR_INPUT_METRICS_FILE_NAME)
metrics = []
# TODO (gfx950): check if gfx950 supports this
Copy link
Contributor

Choose a reason for hiding this comment

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

same here, remove TODO

@djramic djramic requested a review from dhernandez0 October 7, 2025 12:19
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