Skip to content

Commit

Permalink
VITIS-9144 Add description to ptree
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Benusovich <[email protected]>
  • Loading branch information
dbenusov committed Jun 23, 2023
1 parent c2d592d commit 6c1d94f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/runtime_src/core/common/info_aie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,9 @@ boost::property_tree::ptree
populate_aie_partition(const xrt_core::device* device, const std::string& desc)
{
boost::property_tree::ptree pt;
const auto data = xrt_core::device_query_default<qr::aie_partition_info>(device, {});
pt.put("description", desc);

auto data = xrt_core::device_query_default<qr::aie_partition_info>(device, {});
// Group the hw contexts based on their which AIE partitions they use
std::map<std::tuple<uint64_t, uint64_t>, boost::property_tree::ptree> pt_map;
for (const auto& entry : data) {
Expand Down

0 comments on commit 6c1d94f

Please sign in to comment.