[Mlir-commits] [mlir] [mlir][xegpu] add support for structure control flow ops in workgroup to subgroup distribution (PR #142618)
Chao Chen
llvmlistbot at llvm.org
Tue Jun 10 12:32:48 PDT 2025
================
@@ -29,6 +31,29 @@ using namespace mlir;
namespace {
+static std::pair<SmallVector<int64_t>, int>
+getSgShapeAndCount(ArrayRef<int64_t> shape, xegpu::LayoutAttr layout) {
+ int count = 1;
+ SmallVector<int64_t> sgShape(shape);
+
+ if (layout && layout.isWgLayout()) {
----------------
chencha3 wrote:
This is an interface defined in a previous PR. I think we can create a small fix PR if we plan to change it.
https://github.com/llvm/llvm-project/pull/142618
More information about the Mlir-commits
mailing list