Browse Source

watch: Fixed computing GPU memory utilization

Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
check-vt100
Grzegorz Latosinski 3 years ago
parent
commit
ef962ee43e
  1. 2
      watch.py

2
watch.py

@ -341,7 +341,7 @@ def watch(session, fsdev, iface):
if pgpu and TOTAL_GPU_RAM != 0:
line.extend([
curr_gpu_util,
curr_gpu_mem / TOTAL_GPU_RAM
curr_gpu_mem / TOTAL_GPU_RAM * 100.0
])
print(*line, file=f)

Loading…
Cancel
Save