[Mlir-commits] [mlir] [mlir][acc] Add utilities for acc to gpu lowering (PR #209313)
Razvan Lupusoru
llvmlistbot at llvm.org
Mon Jul 13 14:53:23 PDT 2026
================
@@ -206,5 +213,221 @@ void copyParDimsAttr(Operation *from, Operation *to) {
setParDimsAttr(to, getParDimsAttr(from));
}
+int64_t SharedMemoryBudget::alignOffset(int64_t offset) {
+ return (offset + 15) & ~static_cast<int64_t>(15);
----------------
razvanlupusoru wrote:
Added a default alignment and updated API to allow for non-default alignment. Thanks for this suggestion - I like this better.
https://github.com/llvm/llvm-project/pull/209313
More information about the Mlir-commits
mailing list