-
-
Notifications
You must be signed in to change notification settings - Fork 0
Campaign: unified coprocessor backend (Axiom.jl pattern) + roll out to repos needing acceleration #110
Copy link
Copy link
Open
Labels
enhancementNew capability or improvement to existing behaviourNew capability or improvement to existing behaviourmeta:campaignCoordinated multi-repo push with a defined end stateCoordinated multi-repo push with a defined end statepriority:p3Low - nice to haveLow - nice to haveproofsFormal verification: Agda, Coq, Idris, Lean, Z3/SMT, axiom debtFormal verification: Agda, Coq, Idris, Lean, Z3/SMT, axiom debtscope:estateAffects many or all repos across the estateAffects many or all repos across the estate
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew capability or improvement to existing behaviourNew capability or improvement to existing behaviourmeta:campaignCoordinated multi-repo push with a defined end stateCoordinated multi-repo push with a defined end statepriority:p3Low - nice to haveLow - nice to haveproofsFormal verification: Agda, Coq, Idris, Lean, Z3/SMT, axiom debtFormal verification: Agda, Coq, Idris, Lean, Z3/SMT, axiom debtscope:estateAffects many or all repos across the estateAffects many or all repos across the estate
Goal
A single unified, optimised coprocessor backend that neatly backends the suitable kernels rather than carrying each coprocessor separately — benchmark-driven dispatch to the fastest available backend, with safe fallback.
State (from audit)
Axiom.jldoes not yet exist in the reachable tree. The working exemplar of the pattern is burble'sSmartBackend(burble/server/lib/burble/coprocessor/{smart_backend,backend,zig_backend,snif_backend,elixir_backend}.ex): per-operation dispatch to the fastest backend with a published benchmark table and SNIF crash-isolation.Axiom.jl(Julia) as the optimised backend, generalising burble's pattern into kernel-domain dispatch.Coprocessor elements — please confirm the canonical set
Your list was given as "10" but enumerates 11: QPU, NPU, GPU, AudioPU, I/OPU, TPU, VectorPU, ASIC-interface (extensibility slot, by-design under-specified), Physics, Maths, Cryptographic.
Candidates possibly missing (for your call): FPGA/reconfigurable (≠ fixed-function ASIC), Neuromorphic/spiking (≠ NPU), DPU/SmartNIC (unless I/OPU subsumes it), Entropy/RNG unit (natural pairing with QPU + Cryptographic). → decide the final canonical list before implementation.
Repos needing coprocessor support (from audit)
BACKEND-ANALYSIS.md)verisim-tensor), HNSW vector search, semantic proofs → GPU/vector dispatch (also has the raw NIF above)Wire-up
Expose a coprocessor-dispatch verb in the
unified-zig-apiso dispatch crosses the Idris2-ABI / pure-Zig-FFI seam (consistent with the no-C/no-.h + Idris2-ABI standards).Scope
Master campaign; reachable repos = the 6; ~290 estate-wide. Per-repo sub-issues to follow.
Filed via Claude Code — https://claude.ai/code/session_01JNCDaWMB8NV6nAPrvmTg4w