Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion profile/plugin/aie_profile/client/aie_profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ namespace xdp {
auto iter0 = configChannel0.find(tile);
auto iter1 = configChannel1.find(tile);
uint8_t channel0 = (iter0 == configChannel0.end()) ? 0 : iter0->second;
uint8_t channel1 = (iter1 == configChannel1.end()) ? channel0 : iter1->second;
uint8_t channel1 = (iter1 == configChannel1.end()) ? 1 : iter1->second;

// Modify events as needed
aie::profile::modifyEvents(type, subtype, channel0, startEvents, metadata->getHardwareGen());
Expand Down
2 changes: 1 addition & 1 deletion profile/plugin/aie_profile/edge/aie_profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ namespace xdp {
auto iter0 = configChannel0.find(tile);
auto iter1 = configChannel1.find(tile);
uint8_t channel0 = (iter0 == configChannel0.end()) ? 0 : iter0->second;
uint8_t channel1 = (iter1 == configChannel1.end()) ? channel0 : iter1->second;
uint8_t channel1 = (iter1 == configChannel1.end()) ? 1 : iter1->second;

// Modify events as needed
aie::profile::modifyEvents(type, subtype, channel0, startEvents, metadata->getHardwareGen());
Expand Down
4 changes: 2 additions & 2 deletions profile/plugin/aie_profile/ve2/aie_profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ namespace xdp {
auto iter0 = configChannel0.find(tile);
auto iter1 = configChannel1.find(tile);
uint8_t channel0 = (iter0 == configChannel0.end()) ? 0 : iter0->second;
uint8_t channel1 = (iter1 == configChannel1.end()) ? channel0 : iter1->second;
uint8_t channel1 = (iter1 == configChannel1.end()) ? 1 : iter1->second;

// Modify events as needed
aie::profile::modifyEvents(type, subtype, channel0, startEvents, metadata->getHardwareGen());
Expand Down Expand Up @@ -957,7 +957,7 @@ namespace xdp {
auto iter0 = configChannel0.find(tile);
auto iter1 = configChannel1.find(tile);
uint8_t channel0 = (iter0 == configChannel0.end()) ? 0 : iter0->second;
uint8_t channel1 = (iter1 == configChannel1.end()) ? channel0 : iter1->second;
uint8_t channel1 = (iter1 == configChannel1.end()) ? 1 : iter1->second;
std::vector<uint8_t> channels = {channel0, channel1};

// Modify events as needed
Expand Down
Loading