Enabled freethreading support in MLIR python bindings (#122684)
Reland reverted https://github.com/llvm/llvm-project/pull/107103 with the fixes for Python 3.8 cc @jpienaar Co-authored-by: Peter Hawkins <phawkins@google.com>
This commit is contained in:
@@ -12,9 +12,11 @@
|
||||
#include "Standalone-c/Dialects.h"
|
||||
#include "mlir/Bindings/Python/PybindAdaptors.h"
|
||||
|
||||
namespace py = pybind11;
|
||||
|
||||
using namespace mlir::python::adaptors;
|
||||
|
||||
PYBIND11_MODULE(_standaloneDialectsPybind11, m) {
|
||||
PYBIND11_MODULE(_standaloneDialectsPybind11, m, py::mod_gil_not_used()) {
|
||||
//===--------------------------------------------------------------------===//
|
||||
// standalone dialect
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user