perf(prover): device-resident rounds 2-4 and fused NTT for GPU continuations - #875
perf(prover): device-resident rounds 2-4 and fused NTT for GPU continuations#875ColoCarletti wants to merge 8 commits into
Conversation
|
/bench-gpu |
GPU Benchmark (ABBA) —
|
e9b01ad to
e34b461
Compare
Grid-stride the fused row-major NTT past gridDim.y (lde >= 2^24 silently fell back to CPU), assert the device-only contract in the R2 composition commit and preprocessed opening fallbacks, validate htod_via bounds, retain FRI device evals only under device-only, and move the inverse fault-injection hook so every batch-inverse entry is covered.
e34b461 to
ac3dee9
Compare
|
/bench-gpu |
|
/ai-review |
Codex Code Review
|
AI ReviewPR #875 · 16 changed files Findings
Status column reflects the verdict from the verifier: deepseek-verifier (openrouter/deepseek/deepseek-v4-pro). AI-002: Silent zero handling in batch inverse Fermat inversion kernel
Claim The Evidence The kernel computes Suggested fix Either keep the host-side AI-006: `is_root_only` stole `from_root`'s doc comment (doc misplacement)
Claim The new Evidence Lines 171-176 show the doc comment block immediately preceding Suggested fix Move AI-007: get_proof_by_pos lacks root-only guard
Claim The Evidence Root-only trees (created via Suggested fix Add an early check in AI-008: htod_via API footgun: potential self-deadlock when holding PendingD2H
Claim The Evidence Comment at lines 415-418: 'Corollary: never call Suggested fix Either make the staging slot reentrant (e.g., use Reviewer Lanes
Verification Lanes
Native Codex and Claude reviews run separately and post their own comments. They are not included in this structured provenance report. Discarded candidates (5) — rejected by the verifier
Raw lane outputs, candidates, final issues, and model metrics are uploaded as workflow artifacts. |
…ault hook, merkle root-only
…vm into gpu-opt-round2-impl
Second GPU optimization round on top of #863: ethrex 10tx continuations on RTX 5090 go from 12.01s to 9.75s (-18.8%, 8 ABBA pairs, sd 1.3%). Proofs are unchanged and cross-verify against the previous prover.