From be2f6cc32fedad6308f6856ad8f180aeb62cb12c Mon Sep 17 00:00:00 2001 From: Ishita Ghosh <43157456+IshitaGhosh@users.noreply.github.com> Date: Mon, 21 Oct 2024 16:27:47 -0700 Subject: [PATCH] Fix in ML Timeline, AIE PC plugin for Linux Client (#8546) --- .../xdp/profile/plugin/aie_pc/clientDev/aie_pc.cpp | 3 +++ .../xdp/profile/plugin/aie_pc/clientDev/aie_pc.h | 2 +- .../profile/plugin/ml_timeline/clientDev/ml_timeline.cpp | 6 ++++++ .../xdp/profile/plugin/ml_timeline/clientDev/ml_timeline.h | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/runtime_src/xdp/profile/plugin/aie_pc/clientDev/aie_pc.cpp b/src/runtime_src/xdp/profile/plugin/aie_pc/clientDev/aie_pc.cpp index ac82cbaa831..a993eb47764 100644 --- a/src/runtime_src/xdp/profile/plugin/aie_pc/clientDev/aie_pc.cpp +++ b/src/runtime_src/xdp/profile/plugin/aie_pc/clientDev/aie_pc.cpp @@ -64,6 +64,9 @@ namespace xdp { { } + AIEPCClientDevImpl::~AIEPCClientDevImpl() + {} + void AIEPCClientDevImpl::updateDevice(void* hwCtxImpl) { (void)hwCtxImpl; diff --git a/src/runtime_src/xdp/profile/plugin/aie_pc/clientDev/aie_pc.h b/src/runtime_src/xdp/profile/plugin/aie_pc/clientDev/aie_pc.h index f4d36ace2d4..67647bb4907 100644 --- a/src/runtime_src/xdp/profile/plugin/aie_pc/clientDev/aie_pc.h +++ b/src/runtime_src/xdp/profile/plugin/aie_pc/clientDev/aie_pc.h @@ -43,7 +43,7 @@ namespace xdp { public : AIEPCClientDevImpl(VPDatabase* dB); - ~AIEPCClientDevImpl() = default; + ~AIEPCClientDevImpl(); virtual void updateDevice(void* hwCtxImpl); virtual void finishflushDevice(void* hwCtxImpl); diff --git a/src/runtime_src/xdp/profile/plugin/ml_timeline/clientDev/ml_timeline.cpp b/src/runtime_src/xdp/profile/plugin/ml_timeline/clientDev/ml_timeline.cpp index 235dfcc239d..a7e95f55322 100644 --- a/src/runtime_src/xdp/profile/plugin/ml_timeline/clientDev/ml_timeline.cpp +++ b/src/runtime_src/xdp/profile/plugin/ml_timeline/clientDev/ml_timeline.cpp @@ -67,6 +67,12 @@ namespace xdp { "Created ML Timeline Plugin for Client Device."); } + MLTimelineClientDevImpl::~MLTimelineClientDevImpl() + { + xrt_core::message::send(xrt_core::message::severity_level::debug, "XRT", + "In destructor for ML Timeline Plugin for Client Device."); + } + void MLTimelineClientDevImpl::updateDevice(void* hwCtxImpl) { xrt_core::message::send(xrt_core::message::severity_level::debug, "XRT", diff --git a/src/runtime_src/xdp/profile/plugin/ml_timeline/clientDev/ml_timeline.h b/src/runtime_src/xdp/profile/plugin/ml_timeline/clientDev/ml_timeline.h index c1b8daab633..743720e5e15 100644 --- a/src/runtime_src/xdp/profile/plugin/ml_timeline/clientDev/ml_timeline.h +++ b/src/runtime_src/xdp/profile/plugin/ml_timeline/clientDev/ml_timeline.h @@ -29,7 +29,7 @@ namespace xdp { public : MLTimelineClientDevImpl(VPDatabase* dB); - ~MLTimelineClientDevImpl() = default; + ~MLTimelineClientDevImpl(); virtual void updateDevice(void* hwCtxImpl); virtual void finishflushDevice(void* hwCtxImpl, uint64_t implId = 0);