[Build/Dir] Reconstruct core source directory
authorDongju Chae <dongju.chae@samsung.com>
Fri, 9 Aug 2019 07:00:19 +0000 (16:00 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Fri, 9 Aug 2019 07:12:43 +0000 (16:12 +0900)
commit5af9fe5bba9f81c27c4c86e69fa45781256fe6a9
tree75dad5dea14e94580a6c4d9989ae5f9b331e5b39
parent3d4a19a87ac83382a5894a6b837530cbc566754f
[Build/Dir] Reconstruct core source directory

This commit reconstructs core source directory.

The below is the summary of what's changed.

1. reconstruct src directory (issue #153), like
+-- src/
|   +-- host/
|   +-- core/
|       +-- ne-*.c/ne-*.h
|       +-- ip/
|       +-- gem/
|       +-- npu/
|   +-- test/
|       +-- unittests/
|       +-- apptests/
2. change meson.build scripts to keep the same style.
3. change source file names to have the same prefix.

It resolves #153.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
53 files changed:
meson.build
meson_options.txt
packaging/npu-engine.spec
src/README.md [moved from src/core/npu-engine/ip/README.md with 100% similarity]
src/core/gem/GEMdrvAPI.c [moved from src/core/libgem-core/GEMdrvAPI.c with 100% similarity]
src/core/gem/GEMdrvAPI.h [moved from src/core/libgem-core/GEMdrvAPI.h with 100% similarity]
src/core/gem/README.md [moved from src/core/npu-engine/README.md with 100% similarity]
src/core/gem/meson.build [new file with mode: 0644]
src/core/ip/README.md [moved from src/core/libnpu-core/README.md with 100% similarity]
src/core/ip/meson.build [new file with mode: 0644]
src/core/ip/plugin-comm-ip.c [moved from src/core/npu-engine/ip/plugin-ip-comm.c with 99% similarity]
src/core/libgem-core/meson.build [deleted file]
src/core/libnpu-core/meson.build [deleted file]
src/core/libutils-core/meson.build [deleted file]
src/core/main.c [moved from src/core/npu-engine/main.c with 100% similarity]
src/core/meson.build
src/core/ne-armplugin.c [moved from src/core/npu-engine/ne-armplugin.c with 100% similarity]
src/core/ne-comm.h [moved from src/core/npu-engine/ne-comm.h with 100% similarity]
src/core/ne-common.h [moved from src/core/npu-engine/ne-common.h with 100% similarity]
src/core/ne-conf.c [moved from src/core/libutils-core/ne-conf.c with 100% similarity]
src/core/ne-conf.h [moved from src/core/libutils-core/ne-conf.h with 100% similarity]
src/core/ne-handler.c [moved from src/core/npu-engine/ne-handler.c with 100% similarity]
src/core/ne-handler.h [moved from src/core/npu-engine/ne-handler.h with 100% similarity]
src/core/ne-host-input-service.c [moved from src/core/npu-engine/ne-host-input-service.c with 100% similarity]
src/core/ne-inf.c [moved from src/core/npu-engine/ne-inf.c with 100% similarity]
src/core/ne-inf.h [moved from src/core/npu-engine/ne-inf.h with 100% similarity]
src/core/ne-inputservice.h [moved from src/core/npu-engine/ne-inputservice.h with 100% similarity]
src/core/ne-mem.c [moved from src/core/npu-engine/ne-mem.c with 100% similarity]
src/core/ne-mem.h [moved from src/core/npu-engine/ne-mem.h with 100% similarity]
src/core/ne-model.h [moved from src/core/npu-engine/ne-model.h with 100% similarity]
src/core/ne-scheduler.c [moved from src/core/npu-engine/ne-scheduler.c with 100% similarity]
src/core/ne-scheduler.h [moved from src/core/npu-engine/ne-scheduler.h with 100% similarity]
src/core/ne-utils.c [moved from src/core/libutils-core/ne-utils.c with 100% similarity]
src/core/ne-utils.h [moved from src/core/libutils-core/ne-utils.h with 100% similarity]
src/core/npu-engine/fm/meson.build [deleted file]
src/core/npu-engine/fm/plugin-fastmodel.c [deleted file]
src/core/npu-engine/ip/meson.build [deleted file]
src/core/npu-engine/meson.build [deleted file]
src/core/npu-engine/usb/meson.build [deleted file]
src/core/npu/NPUdrvAPI.c [moved from src/core/libnpu-core/NPUdrvAPI.c with 100% similarity]
src/core/npu/NPUdrvAPI.h [moved from src/core/libnpu-core/NPUdrvAPI.h with 100% similarity]
src/core/npu/README.md [moved from src/core/libgem-core/README.md with 100% similarity]
src/core/npu/meson.build [new file with mode: 0644]
src/host/libnpuhost/meson.build
src/host/meson.build
src/meson.build
src/test/apptests/meson.build [new file with mode: 0644]
src/test/meson.build
src/test/unittests/meson.build [new file with mode: 0644]
src/test/unittests/ne_core_gem_test.cpp [moved from src/test/libgem_test.cpp with 94% similarity]
src/test/unittests/ne_core_mem_test.cpp [moved from src/test/ne_mem_test.cpp with 98% similarity]
src/test/unittests/ne_core_npu_test.cpp [moved from src/test/npu_api_test.cpp with 96% similarity]
src/test/unittests/ne_core_utils_test.cpp [moved from src/test/ne_utils_test.cpp with 95% similarity]