land_bytes_for_target

Function land_bytes_for_target 

Source
pub fn land_bytes_for_target(
    target: &LoraLandTarget,
    raw: &[u8],
    dtype: &str,
) -> Result<Vec<u8>>
Expand description

The final host bytes to copy_h2d for a target, given the raw on-wire tensor bytes (as landed in the bounce). A: convert only. B: convert + repack. Factored out (un-gated) so the byte-identity logic is unit-testable off the RDMA path — the verbs loop calls this so tested and shipped logic agree.