[Mlir-commits] [mlir] [MLIR][transform][python] add sugared python abstractions for transform dialect (PR #75073)
Maksim Levental
llvmlistbot at llvm.org
Mon Dec 11 09:51:21 PST 2023
Martin =?utf-8?q?Lücke?= <martin.luecke at ed.ac.uk>,
Martin =?utf-8?q?Lücke?= <martin.luecke at ed.ac.uk>,
Martin =?utf-8?q?Lücke?= <martin.luecke at ed.ac.uk>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/75073 at github.com>
================
@@ -311,6 +311,14 @@ declare_mlir_dialect_python_bindings(
dialects/rocdl.py
DIALECT_NAME rocdl)
+declare_mlir_python_sources(
+ MLIRPythonSources.Dialects.transform.extras
+ ADD_TO_PARENT MLIRPythonSources.Dialects
+ ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir"
+ GEN_ENUM_BINDINGS
+ SOURCES
+ dialects/transform/extras/__init__.py)
----------------
makslevental wrote:
umm can we keep all extras under one `extras`? one of these should be suitable:
1. `dialects/extras/transform/__init__.py`
2. `extras/dialects/transform/__init__.py`
The second is preferrable because moving `extras/types.py` to ~ `dialects/extras/types.py` doesn't really make sense.
https://github.com/llvm/llvm-project/pull/75073
More information about the Mlir-commits
mailing list