Decode specs using utf-8 for backwards compatibility in rocprof

Signed-off-by: coleramos425 <colramos@amd.com>
Αυτή η υποβολή περιλαμβάνεται σε:
coleramos425 authored and Cole Ramos committed 2024-01-24 16:30:04 -06:00
1 γονέας 1fd91959a2
υποβολή d9a6832e30
1 file changed
+1 -1
+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):