[all-commits] [llvm/llvm-project] a93ec0: [mlir][gpu] Introduce `host_shared` flag to `gpu.a...
Ivan Butygin via All-commits
all-commits at lists.llvm.org
Wed Oct 5 13:03:55 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a93ec06ae6277480b3f3d7521f867a7099e68fc1
https://github.com/llvm/llvm-project/commit/a93ec06ae6277480b3f3d7521f867a7099e68fc1
Author: Ivan Butygin <ivan.butygin at gmail.com>
Date: 2022-10-05 (Wed, 05 Oct 2022)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
M mlir/test/Dialect/GPU/ops.mlir
Log Message:
-----------
[mlir][gpu] Introduce `host_shared` flag to `gpu.alloc`
Motivation: we have lowering pipeline based on upstream gpu and spirv dialects and and we are using host shared gpu memory to transfer data between host and device.
Add `host_shared` flag to `gpu.alloc` to distinguish between shared and device-only gpu memory allocations.
Differential Revision: https://reviews.llvm.org/D133533
More information about the All-commits
mailing list