-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TKW] Refactor gather indices generation (#222)
Previously, we could end generating dynamic indices both for the gather `start_indices` and `offsets_vec` which is suboptimal. Now, detect if we need dynamic `offsets_vec`, and generate `start_indices` as 0 in this case, encoding entire index calculation in `offsets_vec`. --------- Signed-off-by: Ivan Butygin <ivan.butygin@gmail.com>
- Loading branch information
1 parent
a92f3db
commit 1aa05e0
Showing
2 changed files
with
173 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters