• Andrey Filippov's avatar
    CLAUDE: rung B - device-visible pose current/candidate set index (no host swap) · 5f473261
    Andrey Filippov authored
    Design 3-A4i rung B (imagej-elphel-internal 2026-07-16 handoff), DP-readiness:
    - gpu_pose_* / gpu_pose_candidate_* become FIXED physical slots; the CURRENT
      set is selected by a device-authoritative int flag.
    - pose_lma_reduce_rms gains a final int* current_set arg and flips it on
      accept DEVICE-SIDE (NULL = no flip, standalone tests); rejection leaves it
      unchanged so the prior current raw pose remains the fallback.
    - tp_proc_exec_pose_lma_resident_step: host std::swap removed; launch
      pointers come from cur_*/cand_* accessors; the host mirror syncs with a
      4-byte D2H after each step. exec_pose_fx_jacobian uploads/reads via the
      CURRENT set. The candidate-base DtoD invariant (ref rows pose-independent)
      is now documented at the copy site.
    - test_pose_lma_step: pass + assert the no-flip side (not-accepted case).
    C API unchanged. Gates: direct CUDA 5120/150 PASS (products 0.000244141,
    candidate 9.69e-08, same as session-40); NVRTC resident accept-carryover +
    worsened-rejection PASS (flip proven behaviorally); 19-float bit-exact PASS;
    fx_jacobian PASS; compute-sanitizer(12.8) 0 errors; test_pose_corr_jna
    bit-exact @tol 0.
    Co-Authored-By: 's avatarClaude Fable 5 <noreply@anthropic.com>
    5f473261
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...