[all-commits] [llvm/llvm-project] cf402a: [mlir][vector] Add unit test for vector distribute...
Thomas via All-commits
all-commits at lists.llvm.org
Thu Oct 8 14:45:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cf402a1987591923492fe697b2e84b1affbae6dd
https://github.com/llvm/llvm-project/commit/cf402a1987591923492fe697b2e84b1affbae6dd
Author: Thomas Raoux <thomasraoux at google.com>
Date: 2020-10-08 (Thu, 08 Oct 2020)
Changed paths:
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-distribution.mlir
M mlir/test/lib/Transforms/TestVectorTransforms.cpp
Log Message:
-----------
[mlir][vector] Add unit test for vector distribute by block
When distributing a vector larger than the given multiplicity, we can
distribute it by block where each id gets a chunk of consecutive element
along the dimension distributed. This adds a test for this case and adds extra
checks to make sure we don't distribute for cases not multiple of multiplicity.
Differential Revision: https://reviews.llvm.org/D89061
More information about the All-commits
mailing list