Unverified Commit ad20f217 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

Merge pull request #3305 from NervanaSystems/bob/r024_allocator

Add fix to r0.24 branch
parents 28f20013 266850a5
...@@ -51,6 +51,6 @@ public: ...@@ -51,6 +51,6 @@ public:
ngraph::runtime::Allocator* ngraph::runtime::get_default_allocator() ngraph::runtime::Allocator* ngraph::runtime::get_default_allocator()
{ {
static std::unique_ptr<DefaultAllocator> allocator(new DefaultAllocator()); static DefaultAllocator* s_allocator = new DefaultAllocator();
return allocator.get(); return s_allocator;
} }
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