Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mlir/utils/performance/perfRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def getNanoSeconds(fileName):
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?

if(chip not in ["gfx942"]):
if(chip not in ["gfx950"]):
return os.path.join('pmc_1', baseOutPath)
return baseOutPath

Expand All @@ -222,7 +222,7 @@ def getMetricArgsForRocprof(arch: str):
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

if (chip not in ["gfx942"]):
if (chip not in ["gfx950"]):
metrics = ['-i', metrics_path]
return metrics

Expand Down