aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorAmir Mohammad Tavakkoli <tavakkoli.amirmohammad@gmail.com>2023-02-27 16:28:54 +0100
committerAlex Zinenko <zinenko@google.com>2023-02-27 16:33:58 +0100
commit115711c19cd287c098a872c63a00478ca635f642 (patch)
tree6d6b11b89b66a7a942acb616889c09ad5544618c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent5f53e85f8aa92ff0cf7d674a92491e06683f73ef (diff)
downloadllvm-115711c19cd287c098a872c63a00478ca635f642.zip
llvm-115711c19cd287c098a872c63a00478ca635f642.tar.gz
llvm-115711c19cd287c098a872c63a00478ca635f642.tar.bz2
[mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op
In this patch we are adding the support of copying a a `memref.subview` to the shared or private memory in GPU. The global to shared memory copy is adopted from codes implemented in IREE (https://github.com/iree-org/iree), but the private memory copy part has not been implemented in IREE. This patch enables transferring a subview from `global->shared`, `global->private`, and `shared->private`. Our final aim is to provide a copy layout as an affine map to the `transform.promote` op to support transpose memory copy. This map is a permutation of the original affine index map. Although this has been implemented and user can copy data to arbitrary layout , this attempt is not included in this patch since we have still problem with `linalg.generic` operations to change their index map to the transformed index map. You can find more in following links ([[ https://github.com/tavakkoliamirmohammad/iree-llvm-fork/commit/4fd5f93355951ad0fb338858393ff409bd9c62f8 | Initial attempt to support layout map in promote op in transform dialect ]]) ([[ https://github.com/tavakkoliamirmohammad/iree-llvm-fork/commit/9062b5849f91d4defb84996392b71087dadf7a8c | Fix data transpose in shared memory ]]) Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D144666
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions