diff --git a/profile/plugin/aie_profile/client/aie_profile.cpp b/profile/plugin/aie_profile/client/aie_profile.cpp index a3749953..7f030ab1 100644 --- a/profile/plugin/aie_profile/client/aie_profile.cpp +++ b/profile/plugin/aie_profile/client/aie_profile.cpp @@ -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()); diff --git a/profile/plugin/aie_profile/edge/aie_profile.cpp b/profile/plugin/aie_profile/edge/aie_profile.cpp index afc78315..a0ecffbd 100644 --- a/profile/plugin/aie_profile/edge/aie_profile.cpp +++ b/profile/plugin/aie_profile/edge/aie_profile.cpp @@ -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()); diff --git a/profile/plugin/aie_profile/ve2/aie_profile.cpp b/profile/plugin/aie_profile/ve2/aie_profile.cpp index 86bb0fc0..1c8b9c11 100644 --- a/profile/plugin/aie_profile/ve2/aie_profile.cpp +++ b/profile/plugin/aie_profile/ve2/aie_profile.cpp @@ -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()); @@ -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 channels = {channel0, channel1}; // Modify events as needed