Split mlx/ directory from forge.lthn.ai/core/go-ai into its own module. Rewrites import paths, adds CLAUDE.md/TODO.md/FINDINGS.md for dedicated Claude sessions. Zero external Go deps — pure CGO + mlx-c v0.4.1. Co-Authored-By: Virgil <virgil@lethean.io>
10 lines
418 B
Go
10 lines
418 B
Go
//go:build !(darwin && arm64)
|
|
|
|
// Package mlx provides Go bindings for Apple's MLX framework via mlx-c.
|
|
// This stub file is used on non-darwin/non-arm64 platforms or when the
|
|
// mlx build tag is not set. All operations report MLX as unavailable.
|
|
package mlx
|
|
|
|
// MetalAvailable reports whether Metal GPU is available.
|
|
// Always returns false on non-Apple Silicon platforms.
|
|
func MetalAvailable() bool { return false }
|