[enco] Decouple buffer enumerator and memory allocator (#1941)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 23 Oct 2018 02:19:23 +0000 (11:19 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 23 Oct 2018 02:19:23 +0000 (11:19 +0900)
commitf8408c48f055e0e55819956c1eba44d106c35a7d
tree2eb7439b2fcd6ae6ddc21aaad10fb21d545a8120
parent4f39a91fae44c37dae800f6e7cc424774ad46bc0
[enco] Decouple buffer enumerator and memory allocator (#1941)

The current implementation of intermediate buffer enumerator is a bit
complicated as it should exclude input/output bags due to the design of
host memory allocator.

With this commit, host memory allocator is responsible for input/output
bag management. This design allows us to reduce coupling between intermediate
buffer enumerator and host memory allocator.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/enco/core/src/CppCode.cpp
contrib/enco/core/src/CppGen/MemoryContext.cpp
contrib/enco/core/src/CppGen/MemoryContext.h