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. |
Click to show internal directories.
Click to hide internal directories.