Skip to content

Commit

Permalink
Add ML Timeline for VE2
Browse files Browse the repository at this point in the history
Signed-off-by: Ishita Ghosh <[email protected]>
  • Loading branch information
Ishita Ghosh committed Jan 7, 2025
1 parent 8c62999 commit b8033b6
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/runtime_src/core/common/xdp/profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "core/common/config_reader.h"
#include "core/common/dlfcn.h"
#include "core/common/module_loader.h"
#include "core/common/message.h"
#include <functional>

#ifdef _WIN32
Expand Down Expand Up @@ -465,25 +464,11 @@ update_device(void* handle)

#elif defined(XDP_VE2_BUILD)

xrt_core::message::send(xrt_core::message::severity_level::debug, "XRT",
"In updateDevice 2 : ml timeline ");

if (xrt_core::config::get_ml_timeline()) {
try {

xrt_core::message::send(xrt_core::message::severity_level::debug, "XRT",
"In updateDevice TRY : ml timeline ");


xrt_core::xdp::ml_timeline::load();
xrt_core::message::send(xrt_core::message::severity_level::debug, "XRT",
"In updateDevice AFTER LOAD : ml timeline ");
}
catch (...) {

xrt_core::message::send(xrt_core::message::severity_level::debug, "XRT",
"In CATCH : ml timeline ");

return;
}
xrt_core::xdp::ml_timeline::update_device(handle);
Expand Down Expand Up @@ -525,9 +510,6 @@ finish_flush_device(void* handle)

#elif defined(XDP_VE2_BUILD)

xrt_core::message::send(xrt_core::message::severity_level::debug, "XRT",
"In finish flush : ml timeline ");

if (xrt_core::config::get_ml_timeline())
xrt_core::xdp::ml_timeline::finish_flush_device(handle);

Expand Down

0 comments on commit b8033b6

Please sign in to comment.