[ROCm/rocprofiler-compute commit: b48fb1e4cb]
This commit is contained in:
Nicholas Curtis
2023-05-24 16:08:09 -04:00
parent 9512b7479d
commit 6434ab2194
@@ -107,7 +107,9 @@ def join_prof(workload_dir, join_type, log_file, verbose, out=None):
_df["key"] = _df.KernelName + " - " + key.astype(str)
elif join_type == "grid":
key = _df.groupby(["KernelName", "grd"]).cumcount()
_df["key"] = _df.KernelName + " - " + _df.grd.astype(str) + " - " + key.astype(str)
_df["key"] = (
_df.KernelName + " - " + _df.grd.astype(str) + " - " + key.astype(str)
)
else:
print("ERROR: Unrecognized --join-type")
sys.exit(1)