You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4c6a8ca
Browse filesBrowse the repository at this point in the historyBrowse files
Use indexed sources for fallible constant rows (#9629)
## Summary
- Tracking Issue: #9128
`RowFn` handles constant inputs so row kernels do not need separate
execution paths for each input shape. #9628 adds an indexed source for
infallible execution, but fallible `execute_owned` still uses a separate
loop whenever any input is constant. That loop selects between row and
constant values on every iteration, duplicating the traversal and hiding
the fixed batch input shape from LLVM.
Depends on #9628.
## Changes
Extends the decoded indexed source to fallible `execute_owned` calls.
Each source validates its decoded length and fixes its row-or-constant
behavior before traversal, allowing every input shape to use
`map_checked_into` without changing output initialization or deferred
failure handling.
This removes the separate `LaneZip` branch. Optimized x86 IR preserves
the vector loop while reducing the focused deferred Boolean executor by
27% and the deferred `i64` executor by 19%, with the same bounds-panic
sites. Tests cover a constant left-hand input, and the focused benchmark
covers varying inputs and both partial-constant orientations.
Signed-off-by: Connor Tsui <[email protected]>
0 commit comments