Skip to content

Commit

Permalink
rebase from the main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
chencha3 committed Sep 20, 2023
1 parent e8ddbdb commit b1a630d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions include/imex/Dialect/XeGPU/IR/XeGPUAttrs.td
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def XeGPU_ScatteredAttr : XeGPUAttrDef<"Scattered", "scattered", []> {


def XeGPU_MemoryScopeAttr : I32EnumAttr<
"MemoryScope", "", [ I32EnumAttrCase<"NONE", 0, "none">,
I32EnumAttrCase<"GLOBAL", 1, "global">,
"MemoryScope", "", [ I32EnumAttrCase<"GLOBAL", 1, "global">,
I32EnumAttrCase<"SLM", 2, "slm"> ]> {
let cppNamespace = "::imex::xegpu";
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Dialect/XeGPU/IR/XeGPUOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ mlir::ParseResult CreateNdDescOp::parse(mlir::OpAsmParser &parser,
llvm::ArrayRef<::mlir::Type> TensorDescTypes(TensorDescRawTypes);
if (parser.parseType(TensorDescRawTypes[0]))
return ::mlir::failure();
result.addAttribute("operand_segment_sizes",
result.addAttribute("operandSegmentSizes",
parser.getBuilder().getDenseI32ArrayAttr(
{1, static_cast<int32_t>(offsetsOperands.size()),
static_cast<int32_t>(shapeOperands.size()),
Expand Down

0 comments on commit b1a630d

Please sign in to comment.