Documentation ¶
Overview ¶
* Copyright (c) 2023 Juice Technologies, Inc. All Rights Reserved.
* Copyright (c) 2023 Juice Technologies, Inc. All Rights Reserved.
Index ¶
- type Gpu
- type GpuSet
- func (gpuSet *GpuSet) Count() int
- func (gpuSet *GpuSet) Find(requirements []restapi.GpuRequirements) (*SelectedGpuSet, error)
- func (gpuSet *GpuSet) GetGpus() []restapi.Gpu
- func (gpuSet *GpuSet) GetPciBusString() string
- func (gpuSet *GpuSet) Select(chosenGpus []restapi.SessionGpu) (*SelectedGpuSet, error)
- type PCIAddress
- type SelectedGpu
- type SelectedGpuSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GpuSet ¶
type GpuSet struct {
// contains filtered or unexported fields
}
func NewGpuSetFromJson ¶
func (*GpuSet) Find ¶
func (gpuSet *GpuSet) Find(requirements []restapi.GpuRequirements) (*SelectedGpuSet, error)
func (*GpuSet) GetPciBusString ¶
func (*GpuSet) Select ¶
func (gpuSet *GpuSet) Select(chosenGpus []restapi.SessionGpu) (*SelectedGpuSet, error)
type PCIAddress ¶
func NewPCIAddressFromString ¶
func NewPCIAddressFromString(pciIdentifier string) PCIAddress
type SelectedGpu ¶
type SelectedGpu struct {
// contains filtered or unexported fields
}
type SelectedGpuSet ¶
type SelectedGpuSet struct {
// contains filtered or unexported fields
}
func (*SelectedGpuSet) Count ¶
func (gpuSet *SelectedGpuSet) Count() int
func (*SelectedGpuSet) GetGpus ¶
func (gpuSet *SelectedGpuSet) GetGpus() []restapi.SessionGpu
func (*SelectedGpuSet) GetPciBusString ¶
func (gpuSet *SelectedGpuSet) GetPciBusString() string
func (*SelectedGpuSet) Release ¶
func (gpuSet *SelectedGpuSet) Release()
Click to show internal directories.
Click to hide internal directories.