@@ -37,17 +37,18 @@ def GPUTargetAttrInterface : AttrInterface<"TargetAttrInterface"> {
37
37
is meant to be used for passing additional options that are not in the
38
38
attribute.
39
39
}],
40
- "std::optional<SmallVector<char, 0>>", "serializeToObject",
41
- (ins "Operation*":$module, "const gpu::TargetOptions&":$options)>,
40
+ "std::optional<::mlir::SmallVector<char, 0>>", "serializeToObject",
41
+ (ins "::mlir::Operation*":$module,
42
+ "const ::mlir::gpu::TargetOptions&":$options)>,
42
43
InterfaceMethod<[{
43
44
Creates a GPU object attribute from a binary string.
44
45
45
46
The `object` parameter is a binary string. The `options` parameter is
46
47
meant to be used for passing additional options that are not in the
47
48
attribute.
48
- }], "Attribute", "createObject",
49
- (ins "const SmallVector<char, 0>&":$object,
50
- "const gpu::TargetOptions&":$options)>
49
+ }], "::mlir:: Attribute", "createObject",
50
+ (ins "const ::llvm:: SmallVector<char, 0>&":$object,
51
+ "const ::mlir:: gpu::TargetOptions&":$options)>
51
52
];
52
53
}
53
54
@@ -112,9 +113,10 @@ def OffloadingLLVMTranslationAttrInterface :
112
113
The first argument has to be a GPU binary operation.
113
114
If the function fails at any point, it must return `failure`.
114
115
}],
115
- "LogicalResult", "embedBinary",
116
- (ins "Operation*":$binaryOp, "llvm::IRBuilderBase&":$hostBuilder,
117
- "LLVM::ModuleTranslation&":$hostModuleTranslation)
116
+ "::mlir::LogicalResult", "embedBinary",
117
+ (ins "::mlir::Operation*":$binaryOp,
118
+ "::llvm::IRBuilderBase&":$hostBuilder,
119
+ "::mlir::LLVM::ModuleTranslation&":$hostModuleTranslation)
118
120
>,
119
121
InterfaceMethod<[{
120
122
Translates a `gpu.launch_func` op into a sequence of LLVM IR
@@ -128,10 +130,10 @@ def OffloadingLLVMTranslationAttrInterface :
128
130
respectively. If the function fails at any point, it must return
129
131
`failure`.
130
132
}],
131
- "LogicalResult", "launchKernel",
132
- (ins "Operation*":$launchFunc, "Operation*":$binaryOp,
133
- "llvm::IRBuilderBase&":$hostBuilder,
134
- "LLVM::ModuleTranslation&":$hostModuleTranslation)
133
+ "::mlir:: LogicalResult", "launchKernel",
134
+ (ins "::mlir:: Operation*":$launchFunc, "::mlir:: Operation*":$binaryOp,
135
+ ":: llvm::IRBuilderBase&":$hostBuilder,
136
+ "::mlir:: LLVM::ModuleTranslation&":$hostModuleTranslation)
135
137
>
136
138
];
137
139
}
0 commit comments