Skip to content

Commit

Permalink
revert change to bo limit (#1565)
Browse files Browse the repository at this point in the history
  • Loading branch information
fifield authored Jun 17, 2024
1 parent 18c8815 commit a235132
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions test/aie2xclbin/buffers_xclbin.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@
// CHECK: "name": "bo4",
// CHECK: "offset": "0x34",
// CHECK: "type": "void*"
// CHECK: },
// CHECK: {
// CHECK: "address-qualifier": "GLOBAL",
// CHECK: "memory-connection": "HOST",
// CHECK: "name": "bo5",
// CHECK: "offset": "0x3c",
// CHECK: "type": "void*"
// CHECK: }
// CHECK: ],
// CHECK: "extended-data": {
Expand Down
7 changes: 6 additions & 1 deletion tools/aie2xclbin/XCLBinGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,12 @@ static json::Object makeKernelJSON(std::string name, std::string id,
{"memory-connection", "HOST"},
{"address-qualifier", "GLOBAL"},
{"type", "void*"},
{"offset", "0x34"}}}},
{"offset", "0x34"}},
json::Object{{"name", "bo5"},
{"memory-connection", "HOST"},
{"address-qualifier", "GLOBAL"},
{"type", "void*"},
{"offset", "0x3c"}}}},
{"instances", json::Array{json::Object{{"name", instance}}}}};
}

Expand Down

0 comments on commit a235132

Please sign in to comment.