Versions in this module Expand all Collapse all v0 v0.1.1 Jun 26, 2023 Changes in this version + type GpuSet []*Gpu + func NewGpuSet(gpus []api.Gpu) GpuSet + func UnmarshalGpuSet(data []byte) (GpuSet, error) + func (gpus GpuSet) Find(requirements []api.GpuRequirements) (SelectedGpuSet, error) + func (gpus GpuSet) GetGpus() []api.Gpu + func (gpus GpuSet) GetPciBusString() string + func (gpus GpuSet) Select(chosenGpus []api.Gpu) (SelectedGpuSet, error) + type SelectedGpu struct + type SelectedGpuSet []SelectedGpu + func (gpus SelectedGpuSet) GetGpus() []api.Gpu + func (gpus SelectedGpuSet) GetPciBusString() string + func (gpus SelectedGpuSet) Release() v0.1.0 May 28, 2023 Changes in this version + func ConvertToApiGpus(gpus []Gpu) []api.Gpu + func ConvertToPciBusString(gpus []Gpu) string + type Gpu struct + PciBus string