forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DT][CPU] Implement CPUEncodingLayoutAttribute. (iree-org#19419)
The commit implements the CPU encoding layout attribute. To reuse the utilities for querying CPU features and arch, it adapts the methods to take Attribute type. On the materialization pass, it creates the CPUEncodingLayoutAttribute when the target is llvmcpu. Now the fallback solution returns identity encoding info container, which behaves like dropping encodings. Thus, the lowering of contraction needs to take it into account. --------- Signed-off-by: hanhanW <hanhan0912@gmail.com>
- Loading branch information
Showing
7 changed files
with
358 additions
and
299 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
Oops, something went wrong.