Add mount devices to API. (#69)

* add room devices to API.

* devicese one 1:1 mapping.

* add devices to gui.

* get used devices.

* rename gpu support to nvidia gpu.
This commit is contained in:
Miroslav Šedivý
2023-04-15 14:04:23 +02:00
committed by GitHub
parent 283ba9b71f
commit 9f46df0022
7 changed files with 72 additions and 1 deletions
+1
View File
@@ -67,6 +67,7 @@ type RoomResources struct {
ShmSize int64 `json:"shm_size"` // in bytes
Memory int64 `json:"memory"` // in bytes
Gpus []string `json:"gpus"` // gpu opts
Devices []string `json:"devices"`
}
type RoomSettings struct {