mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 16:16:44 +00:00
update
This commit is contained in:
@@ -99,7 +99,7 @@ func (allocator *AllocatorFIFO) requestResource(task Task) NodeStatus {
|
|||||||
for j := range node.Status {
|
for j := range node.Status {
|
||||||
if res.Status[i].UUID == node.Status[j].UUID {
|
if res.Status[i].UUID == node.Status[j].UUID {
|
||||||
node.Status[j].MemoryAllocated = task.MemoryGPU
|
node.Status[j].MemoryAllocated = task.MemoryGPU
|
||||||
fmt.Println(node.Status[j].UUID)
|
fmt.Println(node.Status[j].UUID, res.Status[i].UUID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user