[Mlir-commits] [mlir] [mlir][python] Add bindings for OpenACC dialect (PR #163620)
Asher Mancinelli
llvmlistbot at llvm.org
Wed Oct 15 17:03:20 PDT 2025
================
@@ -134,6 +134,15 @@ declare_mlir_dialect_python_bindings(
dialects/func.py
DIALECT_NAME func)
+declare_mlir_dialect_python_bindings(
+ ADD_TO_PARENT MLIRPythonSources.Dialects
+ ROOT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mlir"
+ TD_FILE dialects/OpenACCOps.td
+ SOURCES
+ dialects/openacc.py
+ DIALECT_NAME acc
+ DEPENDS acc_common_td)
----------------
ashermancinelli wrote:
Is the best alternative to create enum things on the Python side and return the result of Attribute.parse("repr")?
https://github.com/llvm/llvm-project/pull/163620
More information about the Mlir-commits
mailing list