ane_fwtofw

command
v0.6.21 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 5 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.

README

ANE Firmware-to-Firmware (FWToFW) Hardware Signaling Demo

This example demonstrates enabling Firmware-to-Firmware (FWToFW) signaling (kANEFEnableFWToFWSignal) and setting up hardware synchronization options for direct ANE-to-GPU event-driven execution.

Background

When dispatching execution requests to the Apple Neural Engine (ANE), standard operating system IO fences can introduce thread context switching overhead. By enabling kANEFEnableFWToFWSignal and kANEFDisableIOFencesUseSharedEventsKey, hardware signaling events occur directly at the coprocessor firmware layer (_ANESharedSignalEvent and _ANESharedWaitEvent).

Running the Example

go run ./examples/compute/ane_fwtofw

Documentation

Overview

Command ane_fwtofw demonstrates configuring firmware-to-firmware (FWToFW) signal options and hardware cross-synchronization options between ANE and GPU.

Jump to

Keyboard shortcuts

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