Decode specs using utf-8 for backwards compatibility in rocprof

Signed-off-by: coleramos425 <colramos@amd.com>


[ROCm/rocprofiler-compute commit: d9a6832e30]
Tento commit je obsažen v:
coleramos425
2024-01-17 15:36:51 -06:00
odevzdal Cole Ramos
rodič 20ccf05fa9
revize 77ca223de8
+1 -1
Zobrazit soubor
@@ -246,7 +246,7 @@ def run(cmd):
if cmd[0] == "rocm-smi" and p.returncode == 8:
print("ERROR: No GPU detected. Unable to load rocm-smi")
sys.exit(1)
return p.stdout.decode("ascii")
return p.stdout.decode("utf-8")
def search(pattern, string):