[Mlir-commits] [mlir] 7eb2b99 - [mlir] Change the class name of the `GenerateWarpgroupDescriptor` (#68286)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Oct 5 01:15:45 PDT 2023


Author: Guray Ozen
Date: 2023-10-05T10:15:40+02:00
New Revision: 7eb2b99f1645604882b82ad027b5984413122863

URL: https://github.com/llvm/llvm-project/commit/7eb2b99f1645604882b82ad027b5984413122863
DIFF: https://github.com/llvm/llvm-project/commit/7eb2b99f1645604882b82ad027b5984413122863.diff

LOG: [mlir] Change the class name of the `GenerateWarpgroupDescriptor` (#68286)

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
    mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
    mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td b/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
index 337174d6367157a..7093eeea689486b 100644
--- a/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
+++ b/mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
@@ -667,7 +667,7 @@ def NVGPU_TmaCreateDescriptorOp : NVGPU_Op<"tma.create.descriptor", []> {
   let hasVerifier = 1;
 }
 
-def NVGPU_GenerateWarpgroupDescriptorOp : NVGPU_Op<"warpgroup.generate.descriptor", []> {
+def NVGPU_WarpgroupGenerateDescriptorOp : NVGPU_Op<"warpgroup.generate.descriptor", []> {
   let summary = "Generate a warpgroup matrix descriptor";
   let description = [{
   This Op builds a `nvgpu.warpgroup.descriptor` that is used by 

diff  --git a/mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp b/mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
index a35c3d9c069e709..b0df2feae16b49f 100644
--- a/mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
+++ b/mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
@@ -968,12 +968,12 @@ struct NVGPUTmaAsyncLoadOpLowering
   }
 };
 struct NVGPUGenerateWarpgroupDescriptorLowering
-    : public ConvertOpToLLVMPattern<nvgpu::GenerateWarpgroupDescriptorOp> {
+    : public ConvertOpToLLVMPattern<nvgpu::WarpgroupGenerateDescriptorOp> {
   using ConvertOpToLLVMPattern<
-      nvgpu::GenerateWarpgroupDescriptorOp>::ConvertOpToLLVMPattern;
+      nvgpu::WarpgroupGenerateDescriptorOp>::ConvertOpToLLVMPattern;
 
   LogicalResult
-  matchAndRewrite(nvgpu::GenerateWarpgroupDescriptorOp op, OpAdaptor adaptor,
+  matchAndRewrite(nvgpu::WarpgroupGenerateDescriptorOp op, OpAdaptor adaptor,
                   ConversionPatternRewriter &rewriter) const override {
 
     ImplicitLocOpBuilder b(op->getLoc(), rewriter);

diff  --git a/mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp b/mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
index eb8fc4b65bc89ad..0ee0f70eebcf603 100644
--- a/mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
+++ b/mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
@@ -367,10 +367,10 @@ LogicalResult TmaCreateDescriptorOp::verify() {
 }
 
 //===----------------------------------------------------------------------===//
-// NVGPU_GenerateWarpgroupDescriptorOp
+// NVGPU_WarpgroupGenerateDescriptorOp
 //===----------------------------------------------------------------------===//
 
-LogicalResult GenerateWarpgroupDescriptorOp::verify() {
+LogicalResult WarpgroupGenerateDescriptorOp::verify() {
   MemRefType memrefType = getTensor().getType();
   MemRefType tensorMapType = getTensorMap().getType().getTensor();
 


        


More information about the Mlir-commits mailing list