-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep outer graph visible to the scan user function, including sequences
Sequences are now demoted to being just another constant in the Scan Op. The user facing function creates the right indexing graph for iterating over sequences automatically. Some extra logic is added in the `scan_to_loop` rewrite to avoid creating duplicated indexes, while being on guard for Scans created elsewhere.
- Loading branch information
1 parent
c46cd53
commit 7bcd42c
Showing
4 changed files
with
197 additions
and
147 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
Oops, something went wrong.