Skip to content

Commit 140a3aa

Browse files
committed
Fix a small compile error.
1 parent b50f200 commit 140a3aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/include/mlir/Dialect/XeGPU/uArch/uArchBase.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ enum class RegisterFileType : uint8_t { GRF, ARF };
7878
// A struct to represent register file information
7979
struct RegisterFileInfo {
8080
// Constructor
81+
RegisterFileInfo() = default;
8182
RegisterFileInfo(uint32_t size,
8283
const llvm::SmallVector<RegisterFileMode, 4> &mode,
8384
const llvm::SmallVector<uint32_t, 4> &numRegs)
@@ -107,6 +108,7 @@ enum class CacheHierarchyLevel { L1 = 1, L2 = 2, L3 = 3 };
107108
// A struct to represent cache information
108109
struct CacheInfo {
109110
// Constructor
111+
CacheInfo() = default;
110112
CacheInfo(uint32_t size, uint32_t line_size,
111113
CacheHierarchyLevel hierarchy_level)
112114
: size(size), line_size(line_size), hierarchy_level(hierarchy_level) {}

0 commit comments

Comments
 (0)