• Andrey Filippov's avatar
    CLAUDE: DP rung D3 - full per-scene parent (K x measure+prepare+step+commit, one entry) · a727289d
    Andrey Filippov authored
    pose_scene_dp: ONE device entry per scene. Self-chaining launchers (D1
    pattern): pose_measure_dp (D2, payload unchanged; its tail launcher now
    chains onward via a new PoseMeasureChain.scene back-pointer) ->
    pose_scene_dp_lma (per-cycle prepare from LIVE corr-row count; full mode
    = production per-cycle conditioning re-derivation with clears/assemble/
    norm/fx/finish, light mode = the D1 frozen body) -> pose_scene_dp_step
    (full-mode pure_weight read LIVE from prep_result - it changes every
    cycle; the six validated spike stages) -> pose_scene_dp_commit (anchor
    update on accept, 25-float trace + 5-int measure-stats trace rows,
    self-chains the next cycle's measure). Fixed-K, no device early exit;
    guard/invalid-prepare failures stop the chain fail-safe with
    cycles-completed visible to the host.
    
    Wrapper tp_proc_exec_pose_scene_dp: C2 nullable uploads + per-scene
    policy/pull/reg/anchor, full provisioning (D2 measure provision + the
    prepare/step scratch blocks), B4 bayer fence, ONE launch, ONE
    end-of-scene readback (scene status + measure status + traces + final
    packed + final anchor + compact prep); peaks/indices stay resident for
    the unchanged fetch calls. D2 entry refactored onto shared
    pose_measure_provision/pose_mchain_fill (same bytes).
    
    GATE (cases.list scene_dp): test_pose_scene_dp_jna rides the captured
    pose_corr case at the production 5120/150 LMA shape (full-grid centers
    scattered by task txy - corr indices carry full-grid tile numbers).
    Four chains vs the host-driven B3 loop (measure -> prepare_resident ->
    resident step, host anchor bookkeeping): full accept K=3, full reject
    K=2, full post-reject K=2, light K=2 riding the conditioning frozen by
    the preceding full chain. Per-cycle trace rows, measure stats, final
    packed/anchor/prep, and last-cycle corr rows keyed by packed index ALL
    bit-identical; the measure<->LMA interleave is real (accepts move the
    pose the next cycle measures at). run_cases.sh ALL PASS incl. pose_corr
    @tol 0 + dp_cycles + measure_dp; DP spike PASS; sanitizer-12.8 memcheck
    0 errors. Native-test timing is A==B by construction (no JNA in either
    arm); the production win - killing the per-cycle Java/JNA round trips -
    lands at rung D4.
    Co-authored-by: 's avatarClaude Fable 5 <noreply@anthropic.com>
    a727289d
Name
Last commit
Last update
..
tests Loading commit data...
TileProcessor.cu Loading commit data...
TileProcessor.h Loading commit data...
TpHostGpu.cu Loading commit data...
TpHostGpu.h Loading commit data...
TpParams.cu Loading commit data...
TpParams.h Loading commit data...
dtt8x8.cu Loading commit data...
dtt8x8.h Loading commit data...
geometry_correction.cu Loading commit data...
geometry_correction.h Loading commit data...
test_tp.cu Loading commit data...
tp_condition.cu Loading commit data...
tp_condition.h Loading commit data...
tp_consolidate.cu Loading commit data...
tp_consolidate.h Loading commit data...
tp_defines.h Loading commit data...
tp_files.cu Loading commit data...
tp_files.h Loading commit data...
tp_lma.cu Loading commit data...
tp_lma.h Loading commit data...
tp_paths.cu Loading commit data...
tp_paths.h Loading commit data...
tp_peak.cu Loading commit data...
tp_peak.h Loading commit data...
tp_utils.cu Loading commit data...
tp_utils.h Loading commit data...