NNFW supports only CPU and GPU accelerated NN runtime so
Consider using NNFW tensor filter plugin of NNStreamer.
Change-Id: I3ed4ae5018b984c812f8bad69eebbfdae69dd030
Signed-off-by: Inki Dae <inki.dae@samsung.com>
}
// TODO. flag supported accel device types according to a given ML Single API of nnstreamer backend.
- capacity->supported_accel_devices = INFERENCE_TARGET_CUSTOM;
+ if (mPluginType == INFERENCE_BACKEND_MLAPI) {
+ capacity->supported_accel_devices = INFERENCE_TARGET_CUSTOM;
+ } else {
+ capacity->supported_accel_devices = INFERENCE_TARGET_GPU |
+ INFERENCE_TARGET_CPU;
+ }
LOGI("LEAVE");