How benjaminveysi/pulsarx works
PulsarX is a native execution engine for arithmetic pipelines over record streams. A user supplies a pipeline and records; the engine selects a scalar, SIMD, or JIT execution strategy, runs it, and can tune choices against the host. Its documented capabilities also include trace JIT, metamorphic code generation, and polynomial optimizations. The two gate programs exercise and verify engine behavior. The excerpts show only parts of the engine and gates; links not directly evidenced by those excerpts are based on README statements or the source index.
Main entry points: pulsarX_ASM.c Execution engine · metamorphic_shield_gate.c Metamorphic shield gate · scientific_gate.c Scientific gate · pulsar_numa_compat.h NUMA allocation shim
Components 15
Pipeline runtime
- Execution engine
pulsarX_ASM.c - Record pipeline
pulsarX_ASM.c - CPU dispatch
pulsarX_ASM.c - NUMA allocation shim
pulsar_numa_compat.h
Execution kernels
- Scalar kernel
pulsarX_ASM.c - SIMD kernels
pulsarX_ASM.c - Native JIT
pulsarX_ASM.c - Trace JIT
pulsarX_ASM.c - Metamorphic JIT
pulsarX_ASM.c
Optimization
- Online autotuner
pulsarX_ASM.c - Kempner reduction
pulsarX_ASM.c - Estrin kernels
pulsarX_ASM.c
Verification gates
- Metamorphic shield gate
metamorphic_shield_gate.c - Scientific gate
scientific_gate.c
Other components
- Pipeline user
Connections 14
- Pipeline user → Execution engine: submits pipeline
README.md - Execution engine → Record pipeline: executes pipeline
README.md - Execution engine → CPU dispatch: selects strategy
README.md - CPU dispatch → Scalar kernel: dispatches to
pulsarX_ASM.c - CPU dispatch → SIMD kernels: dispatches to
pulsarX_ASM.c - CPU dispatch → Native JIT: dispatches to
README.md - CPU dispatch → Metamorphic JIT: dispatches to
README.md - Execution engine → Trace JIT: supports
README.md - Execution engine → Online autotuner: tunes kernels
README.md - Execution engine → Kempner reduction: reduces polynomials
README.md - Execution engine → Estrin kernels: uses polynomial kernels
README.md - Execution engine → NUMA allocation shim: imports compatibility shim
pulsarX_ASM.c - Metamorphic shield gate → Execution engine: compiles and tests
metamorphic_shield_gate.c - Scientific gate → Execution engine: builds and verifies
scientific_gate.c