Skip to content

Commit

Permalink
add aie dialect from xdsl (#5)
Browse files Browse the repository at this point in the history
minor changes include resolving pyright errors, otherwise this is an
exact copy
  • Loading branch information
jorendumoulin authored Dec 18, 2024
1 parent a16a98a commit 0a1ac8f
Show file tree
Hide file tree
Showing 2 changed files with 1,524 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xdsl_aie/dialects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
def get_all_dialects() -> dict[str, Callable[[], Dialect]]:
"""Returns all available dialects."""

def get_aie():
from xdsl_aie.dialects.aie import AIE

return AIE

def get_arith():
from xdsl.dialects.arith import Arith

Expand Down Expand Up @@ -47,6 +52,7 @@ def get_test():
return Test

return {
"aie": get_aie,
"arith": get_arith,
"builtin": get_builtin,
"func": get_func,
Expand Down
Loading

0 comments on commit 0a1ac8f

Please sign in to comment.