• Andrey Filippov's avatar
    CLAUDE: DP spike PASS - CDP2 device-side pose-LMA step bit-identical on Blackwell · 978c5193
    Andrey Filippov authored
    pose_lma_dp_step<<<1,1>>> tail-launches all six resident-step stages
    (cudaStreamTailLaunch, CDP2) with zero host round trips; the only new
    device work is pose_lma_dp_candidate_vector (replaces two host
    cudaMemcpyAsync). NVRTC-only (#ifdef __CUDACC_RTC__): the production
    module's --extensible-whole-program + libcudadevrt link is exactly the
    CDP2 requirement; direct nvcc test builds never see device-side launches.
    
    Feasibility verdict (the spike's deliverable): CDP2 JIT+link+run WORKS in
    the production NVRTC module on CC 12.0 - no flag changes needed.
    
    test_pose_lma_dp_jna: two TpProc instances from one module driven to the
    identical pre-step resident state (the step mutates state on accept, so
    one-instance host-then-DP would compare different starting states); host
    prepared-resident path vs DP chain memcmp-equal on packed[0..24] for
    accept (device set flip exercised under DP), reject, and post-flip reject;
    multi-block child grid (300 tiles -> 2 blocks) + 3-partial reduce.
    Wall/step always-reject microbench: host 132 us, DP 118 us (1.12x; the
    real win is removing 6 JNA launch/sync round trips per step in production).
    
    Gates: test_pose_lma_dp_jna PASS bit-identical; regressions PASS:
    pose_lma_resident, pose_fx_jacobian, lma_products, pose_lma_step (all
    NVRTC), pose_corr captured-data @tol 0.
    
    Production notes for the DP milestone: the DP entry reuses the resident
    gpu_pose_lma_vector (anchor) - the per-cycle vector update after accept
    must move device-side (from result[16..18]) before multi-step DP chains.
    Co-Authored-By: 's avatarClaude Fable 5 <noreply@anthropic.com>
    978c5193
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...