accelerator

package
v0.6.13 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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