This repository was archived by the owner on Oct 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " mlir-c/ExecutionEngine.h"
10- #include " mlir/Bindings/Python/Nanobind.h"
1110#include " mlir/Bindings/Python/NanobindAdaptors.h"
11+ #include " mlir/Bindings/Python/Nanobind.h"
1212
1313namespace nb = nanobind;
1414using namespace mlir ;
@@ -124,17 +124,6 @@ NB_MODULE(_mlirExecutionEngine, m) {
124124 },
125125 nb::arg (" name" ), nb::arg (" callback" ),
126126 " Register `callback` as the runtime symbol `name`." )
127- .def (
128- " initialize" ,
129- [](PyExecutionEngine &executionEngine) {
130- mlirExecutionEngineInitialize (executionEngine.get ());
131- },
132- " Initialize the ExecutionEngine. Global constructors specified by "
133- " `llvm.mlir.global_ctors` will be run. One common scenario is that "
134- " kernel binary compiled from `gpu.module` gets loaded during "
135- " initialization. Make sure all symbols are resolvable before "
136- " initialization by calling `raw_register_runtime` or including "
137- " shared libraries." )
138127 .def (
139128 " dump_to_object_file" ,
140129 [](PyExecutionEngine &executionEngine, const std::string &fileName) {
You can’t perform that action at this time.
0 commit comments