Merge pull request #183 from arghdos/fix_for_dispatch_selection_of_stochastic

fix for stoichastic kernel dispatch selection

[ROCm/rocprofiler-compute commit: 6cc220d4b6]
This commit is contained in:
Cole Ramos
2023-09-11 14:16:09 -05:00
committed by GitHub
commit 8459127f2f
@@ -763,11 +763,8 @@ def apply_filters(workload, is_gui, debug):
ret_df[schema.pmc_perf_file_prefix]["Index"] > int(m.group(1))
]
else:
ret_df = ret_df.loc[
ret_df[schema.pmc_perf_file_prefix]["Index"]
.astype(str)
.isin(workload.filter_dispatch_ids)
]
dispatches = [int(x) for x in workload.filter_dispatch_ids]
ret_df = ret_df.loc[dispatches]
if debug:
print("~" * 40, "\nraw pmc df info:\n")
print(workload.raw_pmc.info())