File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
mlir/lib/Dialect/GPU/Transforms Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ struct XeVMAttachTarget
37
37
void runOnOperation () override ;
38
38
39
39
void getDependentDialects (DialectRegistry ®istry) const override {
40
- registry.insert <mlir:: xevm::XeVMDialect>();
40
+ registry.insert <xevm::XeVMDialect>();
41
41
}
42
42
};
43
43
} // namespace
@@ -46,7 +46,8 @@ DictionaryAttr XeVMAttachTarget::getFlags(OpBuilder &builder) const {
46
46
SmallVector<NamedAttribute, 3 > flags;
47
47
// Tokenize and set the optional command line options.
48
48
if (!cmdOptions.empty ()) {
49
- auto options = gpu::TargetOptions::tokenizeCmdOptions (cmdOptions);
49
+ std::pair<llvm::BumpPtrAllocator, SmallVector<const char *>> options =
50
+ gpu::TargetOptions::tokenizeCmdOptions (cmdOptions);
50
51
if (!options.second .empty ()) {
51
52
llvm::SmallVector<mlir::Attribute> xevmOptionAttrs;
52
53
for (const char *opt : options.second ) {
You can’t perform that action at this time.
0 commit comments