Skip to content

Commit

Permalink
Support GPU for Windows. (#1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
splhack committed Sep 12, 2021
1 parent 537168f commit 0176479
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rqd/rqd/rqmachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,9 @@ def updateMachineStats(self):
self.__renderHost.free_mcp = TEMP_DEFAULT
self.__renderHost.free_swap = int(stats.ullAvailPageFile / 1024)
self.__renderHost.free_mem = int(stats.ullAvailPhys / 1024)
self.__renderHost.num_gpus = self.getGpuCount()
self.__renderHost.total_gpu_mem = self.getGpuMemoryTotal()
self.__renderHost.free_gpu_mem = self.getGpuMemoryFree()

# Updates dynamic information
self.__renderHost.load = self.getLoadAvg()
Expand Down

0 comments on commit 0176479

Please sign in to comment.