diff options
author | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-10-20 19:51:21 +0000 |
---|---|---|
committer | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-10-21 15:18:28 +0000 |
commit | 203accf0bdde1d276646c79dfa605ee3426f1ca8 (patch) | |
tree | 7b0b03da4a92d292b9a55d3a20da79e8aefedf5d /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | a602c2b51dccc756c12e7585c34710aeaef54e0b (diff) | |
download | llvm-203accf0bdde1d276646c79dfa605ee3426f1ca8.zip llvm-203accf0bdde1d276646c79dfa605ee3426f1ca8.tar.gz llvm-203accf0bdde1d276646c79dfa605ee3426f1ca8.tar.bz2 |
[mlir][Linalg] Improve conv vectorization for the stride==1 case.
In the stride == 1 case, conv1d reads contiguous data along the input dimension. This can be advantageaously used to bulk memory transfers and compute while avoiding unrolling. Experimentally, this can yield speedups of up to 50%.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D112139
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions