Created
July 11, 2022 07:43
-
-
Save mebjas/cd68f04023175461803d3a75116d3d81 to your computer and use it in GitHub Desktop.
Example of schedule with vectorisation vs without
This file contains hidden or 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
// Algorithm | |
output_(x, y) = u8(u16(x + y) % 256); | |
// Schedule 1 without vectorisation | |
output_.compute_root().vectorise(x).reorder(x, y); | |
// Schedule 2 with vectorisation | |
output_.compute_root().reorder(x, y); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment