[neurun] Introduce MemoryPlanner and Allocator (#3511)
author김용섭/동작제어Lab(SR)/Engineer/삼성전자 <yons.kim@samsung.com>
Thu, 8 Nov 2018 01:09:12 +0000 (10:09 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 8 Nov 2018 01:09:12 +0000 (10:09 +0900)
commitd97988e882c00e780dd7f35f3f7a13852dbb11b0
tree4e563d9e14f359976469ee85c6799ffcb86b778e
parente27501bb53a1b95de20e51e51c3f2ebad2c8553f
[neurun] Introduce MemoryPlanner and Allocator (#3511)

Introduces IMemoryPlanner, BumpPlanner, FirstFitPlanner and
Allocator to replace IMemoryAllocator.
Current IMemoryAllocator has two roles, Planner and Allocator. This
commits separates IMemoryAllocator to the two classes. After this commit
lands, IMemoryAllocator will be removed soon.

Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
runtimes/neurun/src/backend/cpu/MemoryPlanner.cc [new file with mode: 0644]
runtimes/neurun/src/backend/cpu/MemoryPlanner.h [new file with mode: 0644]
runtimes/neurun/test/backend/cpu/MemoryPlanner.cc [new file with mode: 0644]