Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[MLIR] Existing Python bindings issues #139785

Copy link
Copy link
Open
@makslevental

Description

@makslevental
Issue body actions

I plan to propose a partial rewrite/refactor of the Python bindings later this year. This github issue collects up some of the problems I've noticed/identified and some associated PRs/issues

  1. Decoupled/divorced lifetimes between C++/C/Python; succinctly this revolves around liveOperations
  2. The CMake build system is "mysterious and important", which is to say it's abstruse and inflexible; succinctly this affects modularity vis-a-vis piecemeal dialect registration/distribution
  3. Upstream and downstream bindings constitute a two-tier system, with upstream being first class and downstream being second class; specifically I'm referring to the difference between upstream types/attrs and downstream types/attrs
    • which gets at a broader problem/issue/limitation: none of the upstream impl code is reusable because none of the headers are in mlir/include. Note, this is not malicious/accidental, but is connected to the aforementioned build system issues
  4. Minor/ungrouped outstanding issues:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.