-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[quidditch_snitch] Reintroduce
tensor.microkernel
op (#106)
1b20d75 previously removed the `tensor.microkernel` operation as it at the time seemed not worth the extra code. Since then, we noted that microkernels execute in a more asynchronous manner due to Snitch's asynchronous FPU requiring the use of an explicit `microkernel_fence` operation. Optimizing the placement of these is easier done in tensor land, making the operation more worth it. Additionally, more experience in bufferization lead to simplifying its implementation by restricting `microkernel_yield` to only tensor operations. A tensor counterpart of `microkernel_fence` called `sync_tensor` has also been added which makes a result tensor of a `tensor.microkernel` operation available. It bufferizes to `microkernel_fence` and its placement could be further optimized in the future. The conservative placement of `microkernel_fence` operations was also removed from `speicalize-dma-code` leading to less barriers and `microkernel_fence`s.
- Loading branch information
Showing
9 changed files
with
345 additions
and
82 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
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
Oops, something went wrong.