1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-13 07:46:43 +00:00
This commit is contained in:
2019-04-29 20:18:51 +08:00
parent 7eabdc2444
commit 158e7f72d4
2 changed files with 2 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ func (jm *JobManager) start() {
/* return resource */
jm.allocator.returnResource(jm.resources[i])
fmt.Println("return resource ", jm.resources[i].ClientID)
}
}
if !flag {

View File

@@ -99,7 +99,7 @@ type GPUStatus struct {
UUID string `json:"uuid"`
ProductName string `json:"product_name"`
PerformanceState string `json:"performance_state"`
MemoryTotal int `json:"emory_total"`
MemoryTotal int `json:"memory_total"`
MemoryFree int `json:"memory_free"`
MemoryAllocated int `json:"memory_allocated"`
MemoryUsed int `json:"memory_used"`