Documentation
¶
Overview ¶
Package accelerator provides experimental accelerator device helpers.
It is intended to gather private accelerator-style device configurations such as Neural Engine, Bifrost, VideoToolbox, SEP, and related coprocessor-backed devices behind narrowly scoped builders for macOS guest configurations.
This package should remain conservative and prefer small wrappers around the underlying configuration types until the feature set stabilizes.
Index ¶
- func NewBifrostConfiguration(attachment objectivec.IObject, mmioSize uint64) (pvz.VZBifrostDeviceConfiguration, error)
- func NewConfiguration() (pvz.VZAcceleratorDeviceConfiguration, error)
- func NewCoprocessorConfiguration() (pvz.VZCoprocessorConfiguration, error)
- func NewDevice(platform objectivec.IObject) (objectivec.IObject, error)
- func NewMacBifrostConfiguration(attachment objectivec.IObject, mmioSize uint64) (pvz.VZMacBifrostDeviceConfiguration, error)
- func NewMacVideoToolboxConfiguration() (pvz.VZMacVideoToolboxDeviceConfiguration, error)
- func NewSEPCoprocessorConfigurationWithStorage(storage objectivec.IObject) (pvz.VZSEPCoprocessorConfiguration, error)
- func NewSEPCoprocessorConfigurationWithStorageURL(url foundation.INSURL) (pvz.VZSEPCoprocessorConfiguration, error)
- func NewScalerConfiguration() (pvz.VZMacScalerAcceleratorDeviceConfiguration, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBifrostConfiguration ¶
func NewBifrostConfiguration(attachment objectivec.IObject, mmioSize uint64) (pvz.VZBifrostDeviceConfiguration, error)
NewBifrostConfiguration creates a Bifrost configuration with the given attachment and MMIO size.
func NewConfiguration ¶
func NewConfiguration() (pvz.VZAcceleratorDeviceConfiguration, error)
NewConfiguration creates the base accelerator configuration.
func NewCoprocessorConfiguration ¶
func NewCoprocessorConfiguration() (pvz.VZCoprocessorConfiguration, error)
NewCoprocessorConfiguration creates the base coprocessor configuration.
func NewDevice ¶
func NewDevice(platform objectivec.IObject) (objectivec.IObject, error)
NewDevice creates the runtime accelerator device for a platform object.
func NewMacBifrostConfiguration ¶
func NewMacBifrostConfiguration(attachment objectivec.IObject, mmioSize uint64) (pvz.VZMacBifrostDeviceConfiguration, error)
NewMacBifrostConfiguration creates a macOS Bifrost configuration with the given attachment and MMIO size.
func NewMacVideoToolboxConfiguration ¶
func NewMacVideoToolboxConfiguration() (pvz.VZMacVideoToolboxDeviceConfiguration, error)
NewMacVideoToolboxConfiguration creates the mac video toolbox accelerator configuration.
func NewSEPCoprocessorConfigurationWithStorage ¶
func NewSEPCoprocessorConfigurationWithStorage(storage objectivec.IObject) (pvz.VZSEPCoprocessorConfiguration, error)
NewSEPCoprocessorConfigurationWithStorage creates a SEP coprocessor configuration from a storage object.
func NewSEPCoprocessorConfigurationWithStorageURL ¶
func NewSEPCoprocessorConfigurationWithStorageURL(url foundation.INSURL) (pvz.VZSEPCoprocessorConfiguration, error)
NewSEPCoprocessorConfigurationWithStorageURL creates a SEP coprocessor configuration from a storage URL.
func NewScalerConfiguration ¶
func NewScalerConfiguration() (pvz.VZMacScalerAcceleratorDeviceConfiguration, error)
NewScalerConfiguration creates the mac scaler accelerator configuration.
Types ¶
This section is empty.