Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macro names of headers to follow MLIR standard. #1

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _XeGPU_OPS_H_INCLUDED_
#define _XeGPU_OPS_H_INCLUDED_
#ifndef MLIR_DIALECT_XEGPU_IR_XEGPU_H
#define MLIR_DIALECT_XEGPU_IR_XEGPU_H

#include <mlir/IR/BuiltinTypes.h>
#include <mlir/IR/Dialect.h>
Expand Down Expand Up @@ -49,4 +49,4 @@ class TensorDescType;
#define GET_OP_CLASSES
#include <mlir/Dialect/XeGPU/IR/XeGPU.h.inc>

#endif // _XeGPU_OPS_H_INCLUDED_
#endif // MLIR_DIALECT_XEGPU_IR_XEGPU_H
6 changes: 3 additions & 3 deletions mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.td
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#ifndef _XeGPU_TD_INCLUDED_
#define _XeGPU_TD_INCLUDED_
#ifndef MLIR_DIALECT_XEGPU_IR_XEGPU_TD
#define MLIR_DIALECT_XEGPU_IR_XEGPU_TD

include "mlir/Dialect/XeGPU/IR/XeGPUOps.td"

#endif // _XeGPU_TD_INCLUDED_
#endif // MLIR_DIALECT_XEGPU_IR_XEGPU_TD
6 changes: 3 additions & 3 deletions mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _XEGPU_ATTRS_TD_INCLUDED_
#define _XEGPU_ATTRS_TD_INCLUDED_
#ifndef MLIR_DIALECT_XEGPU_IR_XEGPUATTRS_TD
#define MLIR_DIALECT_XEGPU_IR_XEGPUATTRS_TD

include "mlir/Dialect/XeGPU/IR/XeGPUDialect.td"

Expand Down Expand Up @@ -133,4 +133,4 @@ def XeGPU_AtomicRMWKindAttr : I64EnumAttr<
let cppNamespace = "::mlir::xegpu";
}

#endif // _XEGPU_ATTRS_TD_INCLUDED_
#endif // MLIR_DIALECT_XEGPU_IR_XEGPUATTRS_TD
6 changes: 3 additions & 3 deletions mlir/include/mlir/Dialect/XeGPU/IR/XeGPUDialect.td
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _XEGPU_DIALECT_TD_INCLUDED_
#define _XEGPU_DIALECT_TD_INCLUDED_
#ifndef MLIR_DIALECT_XEGPU_IR_XEGPUDIALECT_TD
#define MLIR_DIALECT_XEGPU_IR_XEGPUDIALECT_TD

include "mlir/IR/OpBase.td"
include "mlir/IR/OpAsmInterface.td"
Expand Down Expand Up @@ -51,4 +51,4 @@ def XeGPUDialect : Dialect {
let useDefaultAttributePrinterParser = true;
}

#endif //XEGPU_DIALECT
#endif // MLIR_DIALECT_XEGPU_IR_XEGPUDIALECT_TD
6 changes: 3 additions & 3 deletions mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _XeGPU_OPS_TD_INCLUDED_
#define _XeGPU_OPS_TD_INCLUDED_
#ifndef MLIR_DIALECT_XEGPU_IR_XEGPUOPS_TD
#define MLIR_DIALECT_XEGPU_IR_XEGPUOPS_TD

include "mlir/Dialect/XeGPU/IR/XeGPUAttrs.td"
include "mlir/Dialect/XeGPU/IR/XeGPUDialect.td"
Expand Down Expand Up @@ -584,4 +584,4 @@ def XeGPU_MfenceOp
}];
}

#endif // _XeGPU_OPS_TD_INCLUDED_
#endif // MLIR_DIALECT_XEGPU_IR_XEGPUOPS_TD
6 changes: 3 additions & 3 deletions mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#ifndef _XEGPU_TYPES_TD_INCLUDED_
#define _XEGPU_TYPES_TD_INCLUDED_
#ifndef MLIR_DIALECT_XEGPU_IR_XEGPUTYPES_TD
#define MLIR_DIALECT_XEGPU_IR_XEGPUTYPES_TD

include "mlir/IR/BuiltinTypes.td"

Expand Down Expand Up @@ -168,4 +168,4 @@ def XeGPU_Nbarrier: XeGPUTypeDef<"Nbarrier", "nbarrier", [], "mlir::Type"> {
}];
}

#endif // _XEGPU_TYPES_TD_INCLUDED_
#endif // MLIR_DIALECT_XEGPU_IR_XEGPUTYPES_TD