-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enabling vectorization load for Slice (#3529)
Previously, vectorization analysis can only support resize in `PadOp` with positive extents: 1. General resize operation or negative extent would exclude the resized iter domain to participate in vectorized data movement; 2. Sliced inputs wouldn't have vectorized load. This is a series of stacked PRs to adds support in vectorization analysis for general resize and it allows vectorized load on sliced inputs as well. Order of PRs: 1. Adding general support for `resize` op in `propagateResize` during projection; Adding support for negative resize extent in propagation. #3457 [with updated more restrictive analysis on 1, the second PR is only optional at this point.] This PR is dropped ~2. Adding alignment check on stride for resize-introduced non-contiguity, where a contiguous dimension becomes non-contiguous due to resize on its immediate inner dimension. #3528~ **_3. Enable vectorized load on slice, refactoring slice vectorize manual test to use automatic scheduler instead._**
- Loading branch information
1 parent
f0ab0cd
commit 6143a6b
Showing
2 changed files
with
144 additions
and
96 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