Fix typo, patch issue in kernel filtering in standalone GUI, and error on version mismatch
Signed-off-by: colramos-amd <colramos@amd.com>
[ROCm/rocprofiler-compute commit: ea9783f105]
Этот коммит содержится в:
@@ -881,8 +881,9 @@ def apply_filters(workload, dir, is_gui, debug):
|
||||
ret_df[schema.pmc_perf_file_prefix]["Kernel_Name"].isin(kernels)
|
||||
]
|
||||
elif all(type(kid) == str for kid in workload.filter_kernel_ids):
|
||||
df_cleaned = ret_df[schema.pmc_perf_file_prefix]["Kernel_Name"].apply(lambda x: x.strip() if isinstance(x, str) else x)
|
||||
ret_df = ret_df.loc[
|
||||
ret_df[schema.pmc_perf_file_prefix]["Kernel_Name"].isin(
|
||||
df_cleaned.isin(
|
||||
workload.filter_kernel_ids
|
||||
)
|
||||
]
|
||||
|
||||
@@ -82,11 +82,16 @@ def kw_only(cls):
|
||||
|
||||
def generate_machine_specs(args, sysinfo: dict = None):
|
||||
if not sysinfo is None:
|
||||
sysinfo_ver = str(sysinfo["version"])
|
||||
try:
|
||||
sysinfo_ver = str(sysinfo["version"])
|
||||
except KeyError:
|
||||
error(
|
||||
"Detected mismatch in sysinfo versioning. You need to reprofile to update data."
|
||||
)
|
||||
version = get_version(config.omniperf_home)["version"]
|
||||
if sysinfo_ver != version[: version.find(".")]:
|
||||
logging.warning(
|
||||
"WARNING: Detected mismatch in sysinfo versioning. You may need to reprofile to update data."
|
||||
error(
|
||||
"Detected mismatch in sysinfo versioning. You need to reprofile to update data."
|
||||
)
|
||||
return MachineSpecs(**sysinfo)
|
||||
# read timestamp info
|
||||
|
||||
@@ -390,7 +390,7 @@ def run_rocscope(args, fname):
|
||||
|
||||
|
||||
def mibench(args, mspec):
|
||||
"""Run roofline microbenchmark to generate peak BW and FLOP measurements."""
|
||||
"""Run roofline microbenchmark to generate peek BW and FLOP measurements."""
|
||||
logging.info("[roofline] No roofline data found. Generating...")
|
||||
distro_map = {"platform:el8": "rhel8", "15.3": "sle15sp3", "20.04": "ubuntu20_04"}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user