CLAUDE: T2a - 16-bit feeder native path: u16 staging + one-pass convert/RowCol/condition kernel
condition_lwir_u16: byte-swap (big-endian TIFF strip) + borrowed per-scene
Row/Col in explicit-RN double (the exact applyCalibratedRowColToRaw chain),
ONE double->float cast, then the unchanged production two-map fmaf - all in
one pass from a device u16 scratch into the ACTIVE image set on the copy
stream (D5a ready-event contract kept; serial path works without a prior
img_set_select via lazy ready-event creation).
New entries: tp_proc_bayer_staging_u16 (pinned, 2 slots - the Java feeder
preads raw file bytes straight into it), tp_proc_rowcol_staging (pinned
rows|cols|inv_scales doubles), tp_proc_set_image_staged_u16,
tp_proc_set_rowcol_staged, tp_proc_exec_conditioning_u16. Kernel count 41->42.
Case u16_cond (synthetic, tol 0): host-reference bit-exact, u16-vs-float
path equivalence (the preload byte-identity contract), no-swap/no-rowcol
variant. run_cases.sh ALL PASS (old + new); compute-sanitizer 0 errors.
Co-authored-by:
Claude Fable 5 <claude-fable-5@anthropic.com>
Showing
jna/test_u16_cond_jna.cu
0 → 100644
This diff is collapsed.
Please register or sign in to comment