Commit 707eb22
Fix method overwriting error during precompilation on Apple Silicon (#769)
* Fix method overwriting error during precompilation on Apple Silicon
Resolves #768 by making extension method signatures more specific
The issue was that the BLIS extension method for preallocated cache
was dispatching on any type A, causing method signature conflicts with
the base fallback methods during precompilation.
The fix makes the preallocated BLIS method dispatch on the exact type
(Matrix{Float64}) that matches the preallocated cache, while keeping
the base fallback methods for when extensions aren't loaded.
Changes:
- BLIS extension: Change from `A` to `A::Matrix{Float64}` for preallocated method
- Metal extension: Keep `A::AbstractArray` (already correct for dynamic computation)
- CUDA extension: Already correct with `A::AbstractArray`
- Base methods: Restored individual fallback methods
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Update Project.toml
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 1090c5e commit 707eb22
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments