Decode specs using utf-8 for backwards compatibility in rocprof
Signed-off-by: coleramos425 <colramos@amd.com>
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
1fd91959a2
υποβολή
d9a6832e30
1 file changed
+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):
|
||||
|
||||
Reference in new issue
Block a user