Skip to content

Commit

Permalink
Next BD Patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jgmelber committed Jan 26, 2023
1 parent 711d16c commit 0f9764b
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
8 changes: 4 additions & 4 deletions test/300_relocatable_airbin_config/aie_addone.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ module {
AIE.useLock(%l72_0, "Acquire", 0)
AIE.dmaBd(<%buf72_0 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_0, "Release", 1)
cf.br ^bd1
AIE.nextBd ^bd1
^bd1:
AIE.useLock(%l72_1, "Acquire", 0)
AIE.dmaBd(<%buf72_2 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_1, "Release", 1)
cf.br ^bd0
AIE.nextBd ^bd0
^bd2:
AIE.useLock(%l72_2, "Acquire", 1)
AIE.dmaBd(<%buf72_1 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_2, "Release", 0)
cf.br ^bd3
AIE.nextBd ^bd3
^bd3:
AIE.useLock(%l72_3, "Acquire", 1)
AIE.dmaBd(<%buf72_3 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_3, "Release", 0)
cf.br ^bd2
AIE.nextBd ^bd2
^end:
AIE.end
}
Expand Down
12 changes: 6 additions & 6 deletions test/300_relocatable_airbin_config/aie_matadd.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -40,32 +40,32 @@ module {
AIE.useLock(%l72_0, "Acquire", 0)
AIE.dmaBd(<%buf72_0 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_0, "Release", 1)
cf.br ^bd1
AIE.nextBd ^bd1
^bd1:
AIE.useLock(%l72_1, "Acquire", 0)
AIE.dmaBd(<%buf72_2 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_1, "Release", 1)
cf.br ^bd0
AIE.nextBd ^bd0
^bd4:
AIE.useLock(%l72_4, "Acquire", 0)
AIE.dmaBd(<%buf72_4 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_4, "Release", 1)
cf.br ^bd5
AIE.nextBd ^bd5
^bd5:
AIE.useLock(%l72_5, "Acquire", 0)
AIE.dmaBd(<%buf72_5 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_5, "Release", 1)
cf.br ^bd4
AIE.nextBd ^bd4
^bd2:
AIE.useLock(%l72_2, "Acquire", 1)
AIE.dmaBd(<%buf72_1 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_2, "Release", 0)
cf.br ^bd3
AIE.nextBd ^bd3
^bd3:
AIE.useLock(%l72_3, "Acquire", 1)
AIE.dmaBd(<%buf72_3 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_3, "Release", 0)
cf.br ^bd2
AIE.nextBd ^bd2
^end:
AIE.end
}
Expand Down
8 changes: 4 additions & 4 deletions test/301_airbin_gen_add_one/aie.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ module {
AIE.useLock(%l72_0, "Acquire", 0)
AIE.dmaBd(<%buf72_0 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_0, "Release", 1)
cf.br ^bd1
AIE.nextBd ^bd1
^bd1:
AIE.useLock(%l72_1, "Acquire", 0)
AIE.dmaBd(<%buf72_2 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_1, "Release", 1)
cf.br ^bd0
AIE.nextBd ^bd0
^bd2:
AIE.useLock(%l72_2, "Acquire", 1)
AIE.dmaBd(<%buf72_1 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_2, "Release", 0)
cf.br ^bd3
AIE.nextBd ^bd3
^bd3:
AIE.useLock(%l72_3, "Acquire", 1)
AIE.dmaBd(<%buf72_3 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_3, "Release", 0)
cf.br ^bd2
AIE.nextBd ^bd2
^end:
AIE.end
}
Expand Down
8 changes: 4 additions & 4 deletions test/302_airbin_dual_herd/aie_addone.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@ module {
AIE.useLock(%l72_0, "Acquire", 0)
AIE.dmaBd(<%buf72_0 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_0, "Release", 1)
cf.br ^bd1
AIE.nextBd ^bd1
^bd1:
AIE.useLock(%l72_1, "Acquire", 0)
AIE.dmaBd(<%buf72_2 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_1, "Release", 1)
cf.br ^bd0
AIE.nextBd ^bd0
^bd2:
AIE.useLock(%l72_2, "Acquire", 1)
AIE.dmaBd(<%buf72_1 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_2, "Release", 0)
cf.br ^bd3
AIE.nextBd ^bd3
^bd3:
AIE.useLock(%l72_3, "Acquire", 1)
AIE.dmaBd(<%buf72_3 : memref<8xi32>, 0, 8>, 0)
AIE.useLock(%l72_3, "Release", 0)
cf.br ^bd2
AIE.nextBd ^bd2
^end:
AIE.end
}
Expand Down
12 changes: 6 additions & 6 deletions test/302_airbin_dual_herd/aie_matadd.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -40,32 +40,32 @@ module {
AIE.useLock(%l72_0, "Acquire", 0)
AIE.dmaBd(<%buf72_0 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_0, "Release", 1)
cf.br ^bd1
AIE.nextBd ^bd1
^bd1:
AIE.useLock(%l72_1, "Acquire", 0)
AIE.dmaBd(<%buf72_2 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_1, "Release", 1)
cf.br ^bd0
AIE.nextBd ^bd0
^bd4:
AIE.useLock(%l72_4, "Acquire", 0)
AIE.dmaBd(<%buf72_4 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_4, "Release", 1)
cf.br ^bd5
AIE.nextBd ^bd5
^bd5:
AIE.useLock(%l72_5, "Acquire", 0)
AIE.dmaBd(<%buf72_5 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_5, "Release", 1)
cf.br ^bd4
AIE.nextBd ^bd4
^bd2:
AIE.useLock(%l72_2, "Acquire", 1)
AIE.dmaBd(<%buf72_1 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_2, "Release", 0)
cf.br ^bd3
AIE.nextBd ^bd3
^bd3:
AIE.useLock(%l72_3, "Acquire", 1)
AIE.dmaBd(<%buf72_3 : memref<1024xi32>, 0, 1024>, 0)
AIE.useLock(%l72_3, "Release", 0)
cf.br ^bd2
AIE.nextBd ^bd2
^end:
AIE.end
}
Expand Down

0 comments on commit 0f9764b

Please sign in to comment.