[Mlir-commits] [mlir] [MLIR][transform][python] add sugared python abstractions for transform dialect (PR #75073)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Dec 13 06:48:49 PST 2023


Martin =?utf-8?q?Lu=CC=88cke?= <martin.luecke at ed.ac.uk>,
Martin =?utf-8?q?Lu=CC=88cke?= <martin.luecke at ed.ac.uk>,
Martin =?utf-8?q?Lu=CC=88cke?= <martin.luecke at ed.ac.uk>,
Martin =?utf-8?q?Lu=CC=88cke?= <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)
----------------
martin-luecke wrote:

Thank you for the suggestion, I went with 2. 👍 

https://github.com/llvm/llvm-project/pull/75073


More information about the Mlir-commits mailing list