Decode specs using utf-8 for backwards compatibility in rocprof

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


[ROCm/rocprofiler-compute commit: d9a6832e30]
Этот коммит содержится в:
coleramos425
2024-01-17 15:36:51 -06:00
коммит произвёл Cole Ramos
родитель 20ccf05fa9
Коммит 77ca223de8
+1 -1
Просмотреть файл
@@ -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):