Skip to content

Commit

Permalink
Replay minor fixes (#8548)
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Wardhan <[email protected]>
  • Loading branch information
theharshwardhan authored Oct 19, 2024
1 parent 47ac090 commit 950bfe5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/runtime_src/core/tools/xbreplay/src/replay_eng/replay.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ class replay_master
/* {"API to Look for", "API to Skip" } */
{"xrt::device::load_xclbin(const std::string&)",
"xrt::xclbin::xclbin(const axlf*)"},
#ifdef __linux__
{"xrt::device::register_xclbin(const xrt::xclbin&)",
"xrt::xclbin::xclbin(const axlf*)"},
#endif
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ void replay_xrt::register_bo_class_func()
const std::vector <std::pair<std::string, std::string>> &args = msg->m_args;

/* get dev handle */
unsigned long dev_handle = std::stoul(args[0].second, nullptr, utils::base_hex);
auto dev_handle = std::stoull(args[0].second, nullptr, utils::base_hex);

/* From handle obtained from log get the corresponding device
* handle from map
Expand Down Expand Up @@ -54,7 +54,7 @@ void replay_xrt::register_bo_class_func()
const std::vector <std::pair<std::string, std::string>> &args = msg->m_args;

/* get dev handle */
auto dev_handle = std::stoul(args[0].second, nullptr, utils::base_hex);
auto dev_handle = std::stoull(args[0].second, nullptr, utils::base_hex);

/* From handle obtained from log get the corresponding device
* handle from map
Expand All @@ -81,7 +81,7 @@ void replay_xrt::register_bo_class_func()
const std::vector <std::pair<std::string, std::string>> &args = msg->m_args;

/* get dev handle */
unsigned long dev_handle = std::stoul(args[0].second,nullptr, utils::base_hex);
auto dev_handle = std::stoull(args[0].second,nullptr, utils::base_hex);

/* From handle obtained from log get the corresponding device
* handle from map
Expand All @@ -107,7 +107,7 @@ void replay_xrt::register_bo_class_func()
const std::vector <std::pair<std::string, std::string>> &args = msg->m_args;

/* get dev handle */
unsigned long dev_handle = std::stoul(args[0].second,nullptr, utils::base_hex);
auto dev_handle = std::stoull(args[0].second,nullptr, utils::base_hex);

/* From handle obtained from log get the corresponding device
* handle from map
Expand Down

0 comments on commit 950bfe5

Please sign in to comment.