Skip to content

Commit

Permalink
Add column partition shift to column locations in report
Browse files Browse the repository at this point in the history
Signed-off-by: Vinod Pangul <[email protected]>
  • Loading branch information
vipangul committed Oct 11, 2024
1 parent 12d3538 commit 63455b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion build/petalinux.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# When updating Petalinux build please file a SH ticket to retain the build
# https://jira.xilinx.com/secure/CreateIssue!default.jspa
#PETALINUX="/proj/petalinux/2024.2/petalinux-v2024.2_08282319/tool/petalinux-v2024.2-final"
PETALINUX=/proj/petalinux/2024.2/petalinux-v2024.2_10031251/tool/petalinux-v2024.2-final
5 changes: 2 additions & 3 deletions src/runtime_src/xdp/profile/writer/aie_profile/aie_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ namespace xdp {
void AIEProfilingWriter::writeMetricSettings()
{
auto metadataReader = (db->getStaticInfo()).getAIEmetadataReader();
uint8_t col_partition_shift = metadataReader->getPartitionOverlayStartCols().front();
std::cout << "!!! col_partition_shift: " << +col_partition_shift << std::endl;
uint8_t col_shift = metadataReader->getPartitionOverlayStartCols().front();
auto validConfig = (db->getStaticInfo()).getProfileConfig();

std::map<module_type, std::vector<std::string>> filteredConfig;
Expand All @@ -72,7 +71,7 @@ namespace xdp {

const auto& validMetrics = configMetrics[i];
for(auto &elm : validMetrics) {
metrics.push_back(std::to_string(+elm.first.col+col_partition_shift) + "," + \
metrics.push_back(std::to_string(+(elm.first.col+col_shift)) + "," + \
aie::getRelativeRowStr(elm.first.row, validConfig.tileRowOffset) \
+ "," + elm.second);
if (i == module_type::shim && elm.second == METRIC_BYTE_COUNT) {
Expand Down

0 comments on commit 63455b6

Please sign in to comment.