accelerate/

directory
v0.6.20 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: MIT

Directories

Path Synopsis
Command bnns-amx-draft builds a batch=1 residual MLP draft block in pure Go via x/coremlcompiler, compiles and runs it on Apple Silicon CPU/AMX via x/bnnsgraph with a preallocated workspace (zero heap allocations per step), and compares numerical parity and per-step latency against a Metal GPU compute shader and a float64 CPU reference.
Command bnns-amx-draft builds a batch=1 residual MLP draft block in pure Go via x/coremlcompiler, compiles and runs it on Apple Silicon CPU/AMX via x/bnnsgraph with a preallocated workspace (zero heap allocations per step), and compares numerical parity and per-step latency against a Metal GPU compute shader and a float64 CPU reference.
Command matmul benchmarks matrix multiplication using Apple Accelerate BLAS (cblas_sgemm) versus a naive pure-Go implementation.
Command matmul benchmarks matrix multiplication using Apple Accelerate BLAS (cblas_sgemm) versus a naive pure-Go implementation.
Command vdsp-blas-reduce benchmarks and verifies Apple Accelerate vDSP and BLAS elementwise vector reductions (Sum, Min, Max) for float32 and float16 against scalar Go loops matching x/jaccl/reduce.go semantics.
Command vdsp-blas-reduce benchmarks and verifies Apple Accelerate vDSP and BLAS elementwise vector reductions (Sum, Min, Max) for float32 and float16 against scalar Go loops matching x/jaccl/reduce.go semantics.

Jump to

Keyboard shortcuts

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