[Host/Refactor] Move libnpuhost codes to ./src/host/
authorDongju Chae <dongju.chae@samsung.com>
Mon, 23 Nov 2020 05:42:58 +0000 (14:42 +0900)
committer송욱/On-Device Lab(SR)/Staff Engineer/삼성전자 <wook16.song@samsung.com>
Thu, 26 Nov 2020 04:32:23 +0000 (13:32 +0900)
commitaca7aa01744ccc105aaf629b37d231f6bcd0fdfd
tree32f35caea5b923653faf3cbbf481433b8880740b
parent51b6e04bab2f62e9006be9cf6dca97866e6daba7
[Host/Refactor] Move libnpuhost codes to ./src/host/

This patch makes refactoring for libnpuhost codes by
moving the codes to host/ne-host.cc from core/ne-handler.cc

In short, the patch includes
- Seperate host APIs from handler
- Move definitions from libnpuhost.h to typedef.h
- Remove inclusion of libnpuhost.h in core sources
- Remove unused variables

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
21 files changed:
README.md
include/common/typedef.h
include/host/libnpuhost.h
src/core/comm/CommPlugin.h
src/core/comm/plugin-comm-ip.cc
src/core/ne-handler.cc
src/core/ne-handler.h
src/core/ne-inf.h
src/core/ne-mem.h
src/core/ne-model.h
src/core/ne-scheduler.h
src/core/utils/ne-utils.cc
src/core/utils/ne-utils.h
src/host/libnpuhost/README.md [deleted file]
src/host/libnpuhost/meson.build [deleted file]
src/host/meson.build
src/host/ne-host.cc [new file with mode: 0644]
src/meson.build
tests/unittests/meson.build
tests/unittests/ne_core_handler_test.cc
tests/unittests/ne_libnpuhost_test.cc