You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[VM] Memory Manager moved up to runtime (apache#15833)
* [VM] memory Manager moved up to runtime
Now graph runtime also uses the same memory manager
This acommodates a common memory manager with pooled and naive support.
As a follow up we can move the WorkspacePool to use this common memory manager.
* * update dependents with new file addition.
* * define memory_manager under new namespace
* * use ShapeTuple across vm executor and memory_manager
* * ShapeTuple across the Allocators
* * GetDataSize is moved to DeviceAPI and memory_manager uses this interface.
* * review comments
* * Make compiler happy with unused variables
* * lint
* Update src/runtime/memory/memory_manager.cc
Co-authored-by: Egor Churaev <egor.churaev@gmail.com>
* * allow multiple allocators to coexist for the same device.
Using available allocator instead of requested is leading to an unpexpected crash
---------
Co-authored-by: Egor Churaev <egor.churaev@gmail.com>
0 commit comments