From ad38f34f3cd07e26575ac3d53236fbe2151d6b79 Mon Sep 17 00:00:00 2001 From: Nishant Mysore Date: Thu, 15 Feb 2024 10:02:45 -0800 Subject: [PATCH] CR-1189595: Fixed issue where memory module events are not configured correctly (#7948) --- .../xdp/profile/plugin/aie_profile/edge/aie_profile.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/runtime_src/xdp/profile/plugin/aie_profile/edge/aie_profile.cpp b/src/runtime_src/xdp/profile/plugin/aie_profile/edge/aie_profile.cpp index 2e04f9b9395..1d9e4a4599c 100644 --- a/src/runtime_src/xdp/profile/plugin/aie_profile/edge/aie_profile.cpp +++ b/src/runtime_src/xdp/profile/plugin/aie_profile/edge/aie_profile.cpp @@ -387,7 +387,10 @@ namespace xdp { auto col = tile.col; auto row = tile.row; auto subtype = tile.subtype; - auto type = aie::getModuleType(row, mod); + auto type = aie::getModuleType(row, metadata->getAIETileRowOffset()); + + if (mod == XAIE_MEM_MOD && type == module_type::core) + type = module_type::dma; if (!aie::profile::isValidType(type, mod)) continue;