This converts a specific form of vector.reduction to SPIR-V integer
dot product ops.
Add a new test pass to excercise this outside of the main vector to
spirv conversion pass.
Paths
| Differential D145760
[mlir][spirv][vector] Add pattern to convert reduction to SPIR-V dot prod ClosedPublic Authored by kuhar on Mar 9 2023, 7:39 PM.
Details Summary This converts a specific form of vector.reduction to SPIR-V integer Add a new test pass to excercise this outside of the main vector to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 10 2023, 10:42 AM Closed by commit rGb194ef692cf3: [mlir][spirv][vector] Add pattern to convert reduction to SPIR-V dot prod (authored by kuhar). · Explain WhyMar 10 2023, 10:56 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 504013 mlir/include/mlir/Conversion/VectorToSPIRV/VectorToSPIRV.h
mlir/lib/Conversion/VectorToSPIRV/CMakeLists.txt
mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
mlir/test/Conversion/VectorToSPIRV/vector-reduction-to-spirv-dot-prod.mlir
mlir/test/lib/Conversion/CMakeLists.txt
mlir/test/lib/Conversion/VectorToSPIRV/CMakeLists.txt
mlir/test/lib/Conversion/VectorToSPIRV/TestVectorReductionToSPIRVDotProd.cpp
mlir/tools/mlir-opt/CMakeLists.txt
mlir/tools/mlir-opt/mlir-opt.cpp
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
|