From ff28836cc06a52a2262410c674f0fcd391921180 Mon Sep 17 00:00:00 2001 From: Chao Chen <116223022+chencha3@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:38:55 -0500 Subject: Update mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td Co-authored-by: Adam Siemieniuk --- mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td b/mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td index 5cea38a..41fe0ea 100644 --- a/mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td +++ b/mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td @@ -393,7 +393,7 @@ def XeGPU_CreateDescOp: XeGPU_Op<"create_tdesc", [Pure, ViewLikeOpInterface]> { let description = [{ "create_tdesc" is similar to "create_nd_tdesc" in terms that it creates a Tensor Descriptor (TensorDescType) for a memory region. While "create_nd_tdesc" - is for creating continious subviews, "create_tdesc" is for creating non-continious + is for creating continuous subviews, "create_tdesc" is for creating non-continuous (scattered) subviews, allowing each work-item in a subgroup specifying their own offset. It accepts the following parameters: -- cgit v1.1 From a375116a4c7938d7a3b812c871a0e26b37ff45f5 Mon Sep 17 00:00:00 2001 From: Chao Chen <116223022+chencha3@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:39:11 -0500 Subject: Update mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp Co-authored-by: Mehdi Amini --- mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp b/mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp index dc18d8c..4e12cc4 100644 --- a/mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp +++ b/mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp @@ -54,7 +54,7 @@ static int64_t getRankOf(Value val) { auto type = val.getType(); if (auto ty = llvm::dyn_cast(type)) return ty.getRank(); - return (int64_t)0; + return 0; }; static bool isReadHintOrNone(const CachePolicyAttr &attr) { -- cgit v1.1