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: ComplexF32 rejected by to_backend, never compiled or tested #143
What: ext/SparseDirectSolverMetalExt.jl, to_backend(::SparseMatrixCSC, ::MetalBackend) accepts Float32 only and raises NotSupportedError for ComplexF32, although the T31 task text names Float32/ComplexF32 for Metal (Apple GPUs have no FP64). The numeric and solve kernels are generic in T, but ComplexF32 on Metal was never compiled or tested (the test-metal CI job runs Float32 only), and MPS has no complex Cholesky, so the wide-front MPS route would have to stay off for complex T.
Why it is out of scope: T31 delivered the Metal extension for Float32; complex support needs Metal hardware to develop and test. No task in TASKS.md owns it; it blocks nothing.
Suggested fix or plan change: admit ComplexF32 in to_backend, keep _offset_potrf_plan returning nothing for complex T, and add ComplexF32 to the test-metal job's SDS_TEST_ELTYPES.
Activity
michel2323 commentedon Oct 29, 2026
Consolidated into the Metal tracking issue (see the issue list, label
metal).michel2323 commentedon Oct 29, 2026
Tracking issue: #168.