Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dialects: (aie) Add aie dialect #1763

Merged
merged 62 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
5a63898
First operations of the AIE dialect. Tested separately in hls-xdsl-co…
gabrielrodcanal Sep 20, 2023
673ae96
Add connect operation. Temporarily using string attributes insteade o…
gabrielrodcanal Sep 21, 2023
7f2bd3e
Switched string attributes to wire bundle attributes. This might not …
gabrielrodcanal Sep 21, 2023
ef0aede
Add all the operations in the dialect except those that need custom a…
gabrielrodcanal Oct 1, 2023
a9cf3c9
Passed simulation of tutorial-3
gabrielrodcanal Oct 26, 2023
9a744a5
Add objectFIFO parametrized type and use it in createObjectFIFO opera…
gabrielrodcanal Oct 27, 2023
f592f9e
Add custom format to the creation of objectFIFO. This operation shoul…
gabrielrodcanal Oct 27, 2023
c0235a7
WIP: objectFIFO with symbols. How do we retrieve the objectFIFO opera…
gabrielrodcanal Nov 2, 2023
cbba8e7
Add objectFifo operations. Passes tutorial-4 of mlir-aie
gabrielrodcanal Nov 4, 2023
938fa65
Pass tutorial-4/flow
gabrielrodcanal Nov 6, 2023
5adc080
Pass tutorial-4/switchbox
gabrielrodcanal Nov 6, 2023
bab1e8e
Merge branch 'gabriel/test_symbol_aie' into gabriel/aie
gabrielrodcanal Nov 6, 2023
fe0b1f3
Update for tutorial 3, 4 and 5
gabrielrodcanal Nov 7, 2023
1ded340
Merge branch 'main' into gabriel/aie
gabrielrodcanal Nov 7, 2023
1206327
Tutorial 6 passes simulation
gabrielrodcanal Nov 7, 2023
7e86c9e
Pass tutorial 7 on simulation
gabrielrodcanal Nov 7, 2023
a77e1bf
Add all the operations and types to the dialect
gabrielrodcanal Nov 8, 2023
1266593
Merge branch 'main' into gabriel/aie
gabrielrodcanal Nov 8, 2023
d2d38e9
Implemented Sasha's suggestions in PR #1763: remove type annotations …
gabrielrodcanal Nov 9, 2023
42a455b
Merge branch 'gabriel/aie' of github.com:xdslproject/xdsl into gabrie…
gabrielrodcanal Nov 9, 2023
755c3c6
First attempt at adding verifiers
gabrielrodcanal Nov 9, 2023
7f4ae71
Add pass that instantiates the north neighbouring cores
gabrielrodcanal Nov 16, 2023
63b900d
Cleanup
gabrielrodcanal Nov 16, 2023
bda6f16
Fix parser for UseLockOpp
gabrielrodcanal Nov 17, 2023
0f5693a
Delete transformation pass from tutorial. Irrelevant in the xDSL fram…
gabrielrodcanal Nov 27, 2023
5e6af90
Merge branch 'main' into gabriel/aie
gabrielrodcanal Nov 27, 2023
60a9184
Fixed Pyright errors
gabrielrodcanal Dec 23, 2023
19def08
Merge branch 'main' into gabriel/aie
gabrielrodcanal Jan 19, 2024
d8865cb
Fixed Pyright errors with new version of xDSL
gabrielrodcanal Jan 22, 2024
59897b9
Address style comments
gabrielrodcanal Jan 22, 2024
b1c708e
Merge branch 'main' into gabriel/aie
gabrielrodcanal Jan 22, 2024
1c689f0
Merge branch 'main' into gabriel/aie
gabrielrodcanal Jan 26, 2024
6f0c91e
Change AIE name to aie, to conform to Xilin'x update. Fix some round-…
gabrielrodcanal Jan 29, 2024
b03553d
Replace print method by format description API - this is broken, comi…
gabrielrodcanal Jan 29, 2024
06101ca
Fix variable name in the description format API
gabrielrodcanal Jan 29, 2024
bf89f53
Add device enum attribute
gabrielrodcanal Jan 29, 2024
b2d99ac
Merge branch 'main' into gabriel/aie
gabrielrodcanal Jan 29, 2024
6d434b3
wip add source and dest
superlopuh Jan 31, 2024
40a752d
Merge branch 'main' into gabriel/aie
superlopuh Jan 31, 2024
8834cb6
fix wire printing
superlopuh Jan 31, 2024
2cf9035
fix filecheck
superlopuh Jan 31, 2024
bf602f7
expand filecheck
superlopuh Jan 31, 2024
8b3d801
fix filecheck again
superlopuh Jan 31, 2024
9691a9b
fix again
superlopuh Feb 1, 2024
f40542c
Merge incoming AIE dialect changes to the API format
gabrielrodcanal Feb 7, 2024
cccbd6d
Merge branch 'main' into gabriel/aie
gabrielrodcanal Feb 7, 2024
ca8abbe
Error when parsing DeviceOp - how do we get symbols in top level look…
gabrielrodcanal Feb 8, 2024
0ebfe4a
Add parse methods for round-trip. Tested with tutorial 4
gabrielrodcanal Feb 11, 2024
80acce4
Add HasParent traits
gabrielrodcanal Feb 12, 2024
039b316
Add HasParent trait for all the operations that require so in the dia…
gabrielrodcanal Feb 12, 2024
02513ed
Merge branch 'main' into gabriel/aie
superlopuh Feb 12, 2024
d23b61b
Add round-trip for operations in tutorial 6
gabrielrodcanal Feb 12, 2024
14fce8d
Merge branch 'gabriel/aie' of github.com:xdslproject/xdsl into gabrie…
gabrielrodcanal Feb 12, 2024
085a65c
Delete filecheck for AIE, as the operation has changed and this is no…
gabrielrodcanal Feb 12, 2024
1273873
Add multiple consumer tiles to objectfifo. Fix operations for tutoria…
gabrielrodcanal Feb 12, 2024
9093997
Fix CoreOp for linking with external kernels - tutorial 8
gabrielrodcanal Feb 12, 2024
590a3af
Add parser that works with enums in FlowOp - tutorial 4 flow
gabrielrodcanal Feb 12, 2024
550d42e
Fix custom format of FlowOp - types must not be printed
gabrielrodcanal Feb 12, 2024
6f28e9b
Add custom format for switchbox related operations - tutorial 4 switc…
gabrielrodcanal Feb 12, 2024
98c3ebb
Cleanup of the AIE dialect
gabrielrodcanal Feb 12, 2024
defea49
Merge branch 'main' into gabriel/aie
gabrielrodcanal Feb 12, 2024
ab87c87
Remove declarative assembly format change to move it to separate PR
gabrielrodcanal Feb 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/filecheck/dialects/aie/aie_ops.mlir
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// RUN: XDSL_ROUNDTRIP

%source, %dest = "test.op"() : () -> (index, index)

aie.flow(%source, %dest) <#aie.wire_bundle<"source"> : 1 : i64, #aie.wire_bundle<"dest"> : 2 : i64>

// CHECK: aie.flow(%source, %dest) <#aie.wire_bundle<"source"> : 1 : i64, #aie.wire_bundle<"dest"> : 2 : i64>
Loading
Loading