Comply to Python formatting

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


[ROCm/rocprofiler-compute commit: 7c9d317527]
Цей коміт міститься в:
coleramos425
2023-02-21 13:02:43 -06:00
джерело fdd5a54b4f
коміт 1deb399bf8
+1 -1
Переглянути файл
@@ -148,7 +148,7 @@ def gpuinfo():
def run(cmd):
p = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if cmd[0] == 'rocm-smi' and p.returncode == 8:
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")