Skip to content

Commit

Permalink
Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
riverlijunjie committed Jan 10, 2024
1 parent fc3b4e9 commit 5ce64bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ else()
set(BIN_FOLDER "bin/${ARCH_FOLDER}")
endif()

set(CMAKE_BUILD_TYPE "RelWithDebInfo")
if(CMAKE_GENERATOR STREQUAL "Ninja Multi-Config")
# 'Ninja Multi-Config' specific, see:
# https://cmake.org/cmake/help/latest/variable/CMAKE_DEFAULT_BUILD_TYPE.html
Expand Down
5 changes: 3 additions & 2 deletions src/plugins/intel_cpu/src/compiled_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,13 @@ CompiledModel::CompiledModel(const std::shared_ptr<ov::Model>& model,
if (m_callback_executor)
set_callback_executor(m_callback_executor);

std::cout << "CompiledModel::CompiledModel - set_callback_executor " << std::endl;
std::cout << "CompiledModel::CompiledModel - set_callback_executor, Config._streams = "
<< m_cfg.streamExecutorConfig._streams << std::endl;
int streams = std::max(1, m_cfg.streamExecutorConfig._streams);
std::vector<Task> tasks;
tasks.resize(streams);
m_graphs.resize(streams);
std::cout << "CompiledModel::CompiledModel - m_graphs.resize " << std::endl;
std::cout << "CompiledModel::CompiledModel - m_graphs.resize = " << streams << std::endl;
if (m_cfg.streamExecutorConfig._streams != 0) {
auto all_graphs_ready = [&] {
return std::all_of(m_graphs.begin(), m_graphs.end(), [&](Graph& graph) {
Expand Down

0 comments on commit 5ce64bd

Please sign in to comment.