Decode specs using utf-8 for backwards compatibility in rocprof

Signed-off-by: coleramos425 <colramos@amd.com>
This commit is contained in:
coleramos425
2024-01-17 15:36:51 -06:00
committed by Cole Ramos
parent 1fd91959a2
commit d9a6832e30
+1 -1
View File
@@ -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):