From a0955c293d9a4e8a191cc087aa1dfeba5e2e611d Mon Sep 17 00:00:00 2001 From: Nicholas Curtis Date: Mon, 11 Sep 2023 10:08:17 -0400 Subject: [PATCH] fix for stoichastic kernel dispatch selection Signed-off-by: Nicholas Curtis --- src/omniperf_analyze/utils/parser.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/omniperf_analyze/utils/parser.py b/src/omniperf_analyze/utils/parser.py index bff3314b2a..56196ce9f7 100644 --- a/src/omniperf_analyze/utils/parser.py +++ b/src/omniperf_analyze/utils/parser.py @@ -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())