You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Metal regression: a small parallel sum fails shader compilation on M2 Pro / macOS 15.7.4 in 2.0.32 #1154
macOS records an MTLCompilerService crash with EXC_BAD_ACCESS, SIGSEGV, and KERN_INVALID_ADDRESS at 0x0000000000000010.
The faulting thread includes llvm::MachineFunctionPass::runOnFunction, llvm::FPPassManager::runOnFunction, and llvm::AGX::AGXCompilePlan::execute.
The same source builds and runs on Metal using Bend 2.0.27 at 95317d952c8fe5be18ef49f916b2a57250cfb0aa, printing 134209536.
That working revision was rebuilt and retested after the 2.0.32 failures.
Versions tested
Official 2.0.32 darwin-arm64 binary: fails.
Clean source checkout of tag v2.0.32, commit 573002f01ec6c52416d44489543f69a9625facf8, invoked with Bun 1.2.13: same failure.
2.0.27 source at 95317d952c8fe5be18ef49f916b2a57250cfb0aa: builds and runs on Metal.
No local compiler/runtime patches. Tests ran with normal desktop Metal access.
Official archive SHA-256 verified against the release: d7debc002f59264f648dc94e45c2a9fab23e4b1ee0a390bf2acd8b1673e0cf55.
Environment
MacBook Pro, Mac14,9; Apple M2 Pro, 10 CPU cores, 16 GPU cores, 16 GB RAM.
macOS 15.7.4 (24G517); uname -sm: Darwin arm64.
Apple clang version 17.0.0 (clang-1700.0.13.5).
Command Line Tools compiler; no Homebrew clang override.
Activity
docs: macOS で試した結果を書く
Bend 2.0.35: M1 and M2 run the GPU again, a library's names stay its own