[single] Bug fix for setting accelerator
authorParichay Kapoor <pk.kapoor@samsung.com>
Fri, 14 Aug 2020 12:05:25 +0000 (21:05 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 20 Aug 2020 03:40:09 +0000 (12:40 +0900)
commit62401b606b5d4ec37746698c07cffa0488459e13
tree688d96eddb57e9c424f47ed6b2ef90f33884987e
parent60aaaada4fa2d1bb759d0258da823557ac49e57a
[single] Bug fix for setting accelerator

Bug fix for setting accelerator in the C-API.
When accelerator is set after the framework, tensor_filter does not know the framework
to check its version and store that information appropriately.
This patch changes the order of setting this information.
However, this bug still exists for pipeline API.

**Self evaluation:**
1. Build test: [x]Passed [ ]Failed [ ]Skipped
2. Run test: [x]Passed [ ]Failed [ ]Skipped

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
api/capi/src/nnstreamer-capi-single.c
tests/tizen_nnfw_runtime/unittest_tizen_nnfw_runtime_raw.cc