compute/

directory
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

Directories

Path Synopsis
Command ane_fwtofw demonstrates configuring firmware-to-firmware (FWToFW) signal options and hardware cross-synchronization options between ANE and GPU.
Command ane_fwtofw demonstrates configuring firmware-to-firmware (FWToFW) signal options and hardware cross-synchronization options between ANE and GPU.
Command three-engine-specdec demonstrates a zero-cgo, three-engine Apple Silicon speculative decoding pipeline composing:
Command three-engine-specdec demonstrates a zero-cgo, three-engine Apple Silicon speculative decoding pipeline composing:
Command threeaccel runs the same matrix multiplication on all three of Apple silicon's matrix engines from one Go process: the AMX blocks (via Accelerate's cblas_sgemm), the GPU (three ways: a naive Metal kernel, a simdgroup-matrix tiled kernel, and MPSMatrixMultiplication — Apple's tuned GEMM), and the Apple Neural Engine (via x/ane/dynamicmatmul).
Command threeaccel runs the same matrix multiplication on all three of Apple silicon's matrix engines from one Go process: the AMX blocks (via Accelerate's cblas_sgemm), the GPU (three ways: a naive Metal kernel, a simdgroup-matrix tiled kernel, and MPSMatrixMultiplication — Apple's tuned GEMM), and the Apple Neural Engine (via x/ane/dynamicmatmul).
Command zerocopy-handoff demonstrates zero-copy IOSurface <-> MTLBuffer page aliasing and bidirectional GPU <-> ANE Mach-port shared-event handoff using github.com/tmc/apple/x/zerocopy.
Command zerocopy-handoff demonstrates zero-copy IOSurface <-> MTLBuffer page aliasing and bidirectional GPU <-> ANE Mach-port shared-event handoff using github.com/tmc/apple/x/zerocopy.

Jump to

Keyboard shortcuts

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