accelerator

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 4 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL