Commit aebd416a authored by Jaikrishnan Menon's avatar Jaikrishnan Menon

CPU Direct Execution: Disable transitive behavior for pass execution

parent b56828fb
......@@ -1043,7 +1043,7 @@ void runtime::cpu::CPU_ExternalFunction::build()
pass_manager.register_pass<ngraph::pass::GetOutputElementElimination>();
pass_manager.register_pass<ngraph::pass::Liveness>();
pass_manager.register_pass<ngraph::pass::MemoryLayout>(s_memory_pool_alignment, true);
pass_manager.run_passes(m_function);
pass_manager.run_passes(m_function, false);
// Store layouts assigned for arguments
for (const auto& parameter : m_function->get_parameters())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment