[neurun] Introduce BumpAllocator (#3149)
author김용섭/동작제어Lab(SR)/Engineer/삼성전자 <yons.kim@samsung.com>
Tue, 16 Oct 2018 01:43:11 +0000 (10:43 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 16 Oct 2018 01:43:11 +0000 (10:43 +0900)
commit90ebab785bc0c6716d88e13e3ce6d29515b2cfb7
tree30d5244ba7c5242a22defa202886a7d4274fc595
parent04435b58dd01ae10621bbefed7e69c0b13fdd475
[neurun] Introduce BumpAllocator (#3149)

* [neurun] Introduce BumpAllocator

Introduces BumpAllocator an early version of MemoryAllocator.
The BumpAllocator only allocates memory without any deallocating.

Signed-off-by: Yongseop Kim <yons.kim@samsung.com>
* Adds unit test of BumpAllocator

* Remove capacity()
runtimes/neurun/src/backend/cpu/MemoryAllocator.cc
runtimes/neurun/src/backend/cpu/MemoryAllocator.h
runtimes/neurun/test/backend/cpu/MemoryAllocator.cc [new file with mode: 0644]