[hi-perf-cpu] High performance cpu backend (#5064)
authorАндрей Шедько/AI Tools Lab /SRR/Engineer/삼성전자 <a.shedko@samsung.com>
Wed, 15 May 2019 07:52:09 +0000 (10:52 +0300)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 15 May 2019 07:52:09 +0000 (16:52 +0900)
commit73accac6d654a377fa6a285c8775721320c8b42e
treed1fdc66447f146c427c1e683cf1b17e849f6bd7a
parent44a96c9731b566598c1225ca036f2fe4e49fd123
[hi-perf-cpu] High performance cpu backend (#5064)

* [hi-perf] High performance cpu backend

initial support for nnpack library

Signed-off-by: Andrei Shedko <a.shedko@samsung.com>
* [hi-perf] NNPACK actually builds correctly.

NNPACK builds, but cpuinfo does not detect CPU yet.

Signed-off-by: Andrei Shedko <a.shedko@samsung.com>
* [hi-perf] Cleanup cmake and test inference

Split nnpack deps download into separate configs.
Added float16 format options to arm builds.
Added nnpack relu test to be run when it is possible

Signed-off-by: Andrei Shedko <a.shedko@samsung.com>
* [hi-perf] Try to fix cmake crossbuild

Try to fix cmake crossbuild

Signed-off-by: Andrei Shedko <a.shedko@samsung.com>
* [hi-perf] Fix x86_64 build

PeachPy on x86_64 needs to generate some files for successful
compilation
Added explicit dependency on Opcodes.py

Signed-off-by: Andrei Shedko <a.shedko@samsung.com>
* [hi-perf] Fix archive type in cmake

Fix archive type in cmake
Fix avx instruction generation for nnpack

Signed-off-by: Andrei Shedko <a.shedko@samsung.com>
* [hi-perf] Review Fixes

file-terminating newlines added, codestyle fixed.

Signed-off-by: Andrei Shedko <a.shedko@samsung.com>
* [hi-perf] More fixes for cmake files

Status reporting improved.
Removed superfluous linkages and includes.

Signed-off-by: Andrei Shedko <a.shedko@samsung.com>
* [hi-perf] More review Fixes

Fixed comment, Removed conflicting change

Signed-off-by: Andrei Shedko <a.shedko@samsung.com>
23 files changed:
.gitignore
cmake/CfgOptionFlags.cmake
cmake/buildtool/config/config_armv7l-linux.cmake
cmake/options/options_armv7l-tizen.cmake
cmake/packages/CpuinfoSourceConfig.cmake [new file with mode: 0644]
cmake/packages/Enum34SourceConfig.cmake [new file with mode: 0644]
cmake/packages/FP16SourceConfig.cmake [new file with mode: 0644]
cmake/packages/FXdivSourceConfig.cmake [new file with mode: 0644]
cmake/packages/NNPACKConfig.cmake [new file with mode: 0644]
cmake/packages/NNPACKSourceConfig.cmake [new file with mode: 0644]
cmake/packages/OpcodesSourceConfig.cmake [new file with mode: 0644]
cmake/packages/PSIMDSourceConfig.cmake [new file with mode: 0644]
cmake/packages/PeachpySourceConfig.cmake [new file with mode: 0644]
cmake/packages/PthreadpoolSourceConfig.cmake [new file with mode: 0644]
cmake/packages/SixSourceConfig.cmake [new file with mode: 0644]
runtimes/neurun/backend/CMakeLists.txt
runtimes/neurun/backend/hi_perf_cpu/CMakeLists.txt [new file with mode: 0644]
runtimes/neurun/backend/hi_perf_cpu/HighPerformanceBackend.test.cc [new file with mode: 0644]
runtimes/neurun/backend/hi_perf_cpu/StageGenerator.cc [new file with mode: 0644]
runtimes/neurun/backend/hi_perf_cpu/StageGenerator.h [new file with mode: 0644]
runtimes/neurun/backend/hi_perf_cpu/TensorBuilder.cc [new file with mode: 0644]
runtimes/neurun/backend/hi_perf_cpu/TensorBuilder.h [new file with mode: 0644]
runtimes/neurun/backend/hi_perf_cpu/kernel/CMakeLists.txt [new file with mode: 0644]