Unverified Commit 3f8f3ab4 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

Merge pull request #2651 from NervanaSystems/cyphers/cpu-call-frame-cleanup

Cleanup runtime context in CPU_CallFrame Destructor
parents 4b44442e 66328c7b
......@@ -49,6 +49,7 @@ runtime::cpu::CPU_CallFrame::CPU_CallFrame(std::shared_ptr<CPU_ExternalFunction>
runtime::cpu::CPU_CallFrame::~CPU_CallFrame()
{
cleanup_runtime_context();
if (!m_external_function->is_direct_execution())
{
NGRAPH_ASSERT(m_compiled_destroy_ctx_func) << "compiled_destroy_ctx_func cannot be null.";
......
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