Introduce nnfw_kernels (#517)
author최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 <hk0110.choi@samsung.com>
Tue, 10 Apr 2018 07:17:24 +0000 (16:17 +0900)
committer김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh0822.kim@samsung.com>
Tue, 10 Apr 2018 07:17:24 +0000 (16:17 +0900)
commit29ebd0960398242703faacbe48afc101bc02d3ef
tree5f8921beb942fe9e2e67ca22c725f5750888c1fb
parentc665bb4ab88b174b7d2f5ca43a9dd3a943deb7da
Introduce nnfw_kernels (#517)

- Introduce nnfw_kernels to choose kernel for various target at runtime
- Apply nnfw_kernels to convFloat32 used at OperationType::CONV_2D
  - Introduce environment variable NNFW_KERNEL_convFloat32 to select target of convFloat32
  - Tested with convolution_test2.tflite

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
src/runtime/ref/nn/common/CMakeLists.txt
src/runtime/ref/nn/common/CpuExecutor.cpp
src/runtime/ref/nn/common/NNFWKernels.cpp [new file with mode: 0644]
src/runtime/ref/nn/common/NNFWKernels.h [new file with mode: 0644]