Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 8 additions & 6 deletions projects/rocprofiler-compute/src/utils/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1606,9 +1606,9 @@ def merge_stall_reasons(
pc_sample_instructions = search_key_in_json(file_name, "pc_sample_instructions")
df["instruction"] = (
df["inst_index"].apply(
lambda x: pc_sample_instructions[x]
if x < len(pc_sample_instructions)
else None
lambda x: (
pc_sample_instructions[x] if x < len(pc_sample_instructions) else None
)
)
if pc_sample_instructions
else None
Expand All @@ -1618,9 +1618,11 @@ def merge_stall_reasons(
pc_sample_comments = search_key_in_json(file_name, "pc_sample_comments")
df["source_line"] = (
df["inst_index"].apply(
lambda x: f".../{Path(pc_sample_comments[x]).name}"
if x < len(pc_sample_comments)
else None
lambda x: (
f".../{Path(pc_sample_comments[x]).name}"
if x < len(pc_sample_comments)
else None
)
)
if pc_sample_comments
else None
Expand Down
11 changes: 0 additions & 11 deletions projects/rocprofiler-compute/src/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,17 +776,6 @@ def run_prof(
f"ROCPROFILER_METRICS_PATH={new_env['ROCPROFILER_METRICS_PATH']}"
)

# set required env var for >= mi300
if mspec.gpu_model.lower() not in (
"mi50",
"mi60",
"mi100",
"mi210",
"mi250",
"mi250x",
):
new_env["ROCPROFILER_INDIVIDUAL_XCC_MODE"] = "1"

time_1 = time.time()

output_path = Path(workload_dir + "/out/pmc_1")
Expand Down
Loading
Loading