1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-16 00:26:43 +00:00
This commit is contained in:
2020-04-11 11:38:04 +08:00
parent 7ed56468fd
commit 11aded3427
6 changed files with 55 additions and 0 deletions

View File

@@ -243,3 +243,11 @@ func (scheduler *SchedulerPriority) AcquireNetwork() string {
func (scheduler *SchedulerPriority) ReleaseNetwork(network string) {
pool.releaseNetwork(network)
}
func (scheduler *SchedulerPriority) Attach(GPU string, job string) {
pool.attach(GPU, job)
}
func (scheduler *SchedulerPriority) Detach(GPU string, job string) {
pool.detach(GPU, job)
}