Skip to content

Commit

Permalink
[cuegui] Fix GPU field access in CueJobMonitorTree. (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
splhack authored Oct 20, 2021
1 parent 393a774 commit f0cc28e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cuegui/cuegui/CueJobMonitorTree.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,9 @@ def __init__(self, parent):
sort=lambda job: job.data.job_stats.max_rss,
tip="The most memory used at one time by any single frame.")
self.addColumn("MaxGpuMem", 60, id=19,
data=lambda job: cuegui.Utils.memoryToString(job.data.job_stats.max_gpu_mem),
sort=lambda job: job.data.job_stats.max_gpu_mem,
data=lambda job: cuegui.Utils.memoryToString(
job.data.job_stats.max_gpu_memory),
sort=lambda job: job.data.job_stats.max_gpu_memory,
tip="The most gpu memory used at one time by any single frame.")
self.addColumn("_Blank", 20, id=20,
tip="Spacer")
Expand Down

0 comments on commit f0cc28e

Please sign in to comment.
  翻译: