oa::matrix::scatter_rows
Add the compacted source rows into input at their saved positions. Both matrices are matching [T, D] FP32; row_map and count are the U32 device plan from compact_rows. Each output element is input[i] plus source[packed_row, d] when the row is selected, matching OA C++ FnMatrix::scatterRows in its direct-dispatch form. Errors Returns an error when shapes or dtypes disagree, the auxiliary inputs are not U32, an extent exceeds the shader ABI, or recording fails.
Function Documentation
Add the compacted source rows into input at their saved positions. Both matrices are matching [T, D] FP32; row_map and count are the U32 device plan from compact_rows. Each output element is input[i] plus source[packed_row, d] when the row is selected, matching OA C++ FnMatrix::scatterRows in its direct-dispatch form. Errors Returns an error when shapes or dtypes disagree, the auxiliary inputs are not U32, an extent exceeds the shader ABI, or recording fails.