Unverified Commit 05535a35 authored by Scott Cyphers's avatar Scott Cyphers Committed by GitHub

Merge pull request #3130 from NervanaSystems/ayzhuang/codegen_remove_swap

Remove CPURuntimeContext mkldnn primitives and workspaces assignments…
parents abb7f817 767d023f
......@@ -216,8 +216,6 @@ void runtime::cpu::CPU_CallFrame::setup_runtime_context()
{
// single thread for codegen
NGRAPH_CHECK(m_num_ctx == 1);
ctx->mkldnn_primitives.swap(mkldnn_emitter->get_mkldnn_primitives());
ctx->mkldnn_workspaces = mkldnn_emitter->get_mkldnn_workspaces();
}
ctx->states = m_external_function->m_states.data();
......
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