-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tfrt:jit] Insert a copy when returning a dynamic broadcast
We bufferize dynamic broadcasts into a memref reinterpret cast that yields a memref with affine map. This clashes with the return type of the function that doesn't support affine maps. Insert a copy for this special case. This is still a bit of a hack, but I prefer not to invest too much as a different representation for dynamic broaddcasts is on the horizon. PiperOrigin-RevId: 405473962
- Loading branch information
Showing
2 changed files
with
14 additions
and
8 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