reformatting
Signed-off-by: JoseSantosAMD <Jose.Santos@amd.com>
[ROCm/rocprofiler-compute commit: add68ded67]
Tento commit je obsažen v:
1 rodič
68f6f9130b
revize
2765d923a0
1 file changed
+3
-3
@@ -55,13 +55,13 @@ def kernel_name_shortener(df, cache, level):
|
||||
original_name = df.loc[index, columnName]
|
||||
if original_name in cache:
|
||||
continue
|
||||
|
||||
|
||||
cmd = ["llvm-cxxfilt", original_name]
|
||||
|
||||
|
||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
|
||||
demangled_name, e = proc.communicate()
|
||||
demangled_name = str(demangled_name, 'UTF-8').strip()
|
||||
demangled_name = str(demangled_name, "UTF-8").strip()
|
||||
|
||||
# cache miss, add the shortened name to the dictionary
|
||||
new_name = ""
|
||||
|
||||
Reference in new issue
Zablokovat Uživatele