-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linalg-pooling-nhwc-max.mlir: Linalg Dialect handwritten mlir; conv2d-nhwc-fhwc-vec.mlir: Vector Dialect handwritten mlir file; makefile update related commands. midend/lib/Conversion/ConvVectorizationn/: PoolingNhwcMaxVectorization.cpp implements vectorisation. tests/Conversion/: pooling-nhwc-max-vectorisation.mlir: a test file. Before vectorisation optimization: 1.71661e-05, after vectorization optimization: 1.09673e-05 (vectorization size is 32), speedup ratio is 0.454. The amount of data in the example is small and the optimization effect is not obvious.
- Loading branch information
1 parent
899bba4
commit 330b2bb
Showing
2 changed files
with
23 additions
and
15 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