-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
fill
TessellateIPU primitive mapping popops vertex. (#38)
Compared to the `full` LAX operation, the `fill_p` TessellateIPU primitive ensures that the full array is allocated and filled with a given value (and not broadcasted). As an useful example of using `fill`, in combination with `scatter`, we implement `tile_sharded_identity` which creates an identity matrix, with proper tile mapping, without introducing additional communications.
- Loading branch information
Showing
3 changed files
with
197 additions
and
5 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
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