@@ -75,13 +75,13 @@ NB_MODULE(_mlirExecutionEngine, m) {
7575 " __init__" ,
7676 [](PyExecutionEngine &self, MlirModule module , int optLevel,
7777 const std::vector<std::string> &sharedLibPaths,
78- bool enableObjectDump, bool shouldInitialize ) {
78+ bool enableObjectDump) {
7979 llvm::SmallVector<MlirStringRef, 4 > libPaths;
8080 for (const std::string &path : sharedLibPaths)
8181 libPaths.push_back ({path.c_str (), path.length ()});
82- MlirExecutionEngine executionEngine = mlirExecutionEngineCreate (
83- module , optLevel, libPaths.size (), libPaths. data (),
84- enableObjectDump, shouldInitialize );
82+ MlirExecutionEngine executionEngine =
83+ mlirExecutionEngineCreate ( module , optLevel, libPaths.size (),
84+ libPaths. data (), enableObjectDump );
8585 if (mlirExecutionEngineIsNull (executionEngine))
8686 throw std::runtime_error (
8787 " Failure while creating the ExecutionEngine." );
@@ -90,7 +90,6 @@ NB_MODULE(_mlirExecutionEngine, m) {
9090 nb::arg (" module" ), nb::arg (" opt_level" ) = 2 ,
9191 nb::arg (" shared_libs" ) = nb::list (),
9292 nb::arg (" enable_object_dump" ) = true ,
93- nb::arg (" should_initialize" ) = true ,
9493 " Create a new ExecutionEngine instance for the given Module. The "
9594 " module must contain only dialects that can be translated to LLVM. "
9695 " Perform transformations and code generation at the optimization "
0 commit comments