return INFERENCE_ENGINE_ERROR_NOT_SUPPORTED;
}
+ ret = mBackendHandle->SetTargetDevices(device_type);
+ if (ret != INFERENCE_ENGINE_ERROR_NONE) {
+ LOGE("Failed to set target device.");
+ return INFERENCE_ENGINE_ERROR_NOT_SUPPORTED;
+ }
+
return INFERENCE_ENGINE_ERROR_NONE;
}
return INFERENCE_ENGINE_ERROR_INVALID_PARAMETER;
}
+ LOGI("target device type is %d", types);
+
int ret = mBackendHandle->SetTargetDevices(types);
if (ret != INFERENCE_ENGINE_ERROR_NONE)
LOGE("Fail to SetTargetDevice");