[all-commits] [llvm/llvm-project] e5825c: [mlir][python] Add bindings for OpenACC dialect (#...

Asher Mancinelli via All-commits all-commits at lists.llvm.org
Thu Oct 16 07:30:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5825c455ea40760d48be18491d383172dce4928
      https://github.com/llvm/llvm-project/commit/e5825c455ea40760d48be18491d383172dce4928
  Author: Asher Mancinelli <ashermancinelli at gmail.com>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M mlir/python/CMakeLists.txt
    A mlir/python/mlir/dialects/OpenACCOps.td
    A mlir/python/mlir/dialects/openacc.py
    A mlir/test/python/dialects/openacc.py

  Log Message:
  -----------
  [mlir][python] Add bindings for OpenACC dialect (#163620)

Adds initial support for Python bindings to the OpenACC dialect.

* The bindings do not provide any niceties yet, just the barebones
exposure of the dialect to Python. Construction of OpenACC ops is
therefore verbose and somewhat inconvenient, as evidenced by the test.
* The test only constructs one module, but I attempted to use enough
operations to be meaningful. It does not test all the ops exposed, but
does contain a realistic example of a memcpy idiom.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list