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
3737 void runOnOperation () override ;
3838
3939 void getDependentDialects (DialectRegistry ®istry) const override {
40- registry.insert <mlir:: xevm::XeVMDialect>();
40+ registry.insert <xevm::XeVMDialect>();
4141 }
4242};
4343} // namespace
@@ -46,7 +46,8 @@ DictionaryAttr XeVMAttachTarget::getFlags(OpBuilder &builder) const {
4646 SmallVector<NamedAttribute, 3 > flags;
4747 // Tokenize and set the optional command line options.
4848 if (!cmdOptions.empty ()) {
49- auto options = gpu::TargetOptions::tokenizeCmdOptions (cmdOptions);
49+ std::pair<llvm::BumpPtrAllocator, SmallVector<const char *>> options =
50+ gpu::TargetOptions::tokenizeCmdOptions (cmdOptions);
5051 if (!options.second .empty ()) {
5152 llvm::SmallVector<mlir::Attribute> xevmOptionAttrs;
5253 for (const char *opt : options.second ) {
You can’t perform that action at this time.
0 commit comments