From cd3173d53109582996e5728da58b43bcdd95493a Mon Sep 17 00:00:00 2001 From: JiCheng Date: Fri, 10 Mar 2023 08:53:02 +0800 Subject: [PATCH] Update onnxruntime/core/providers/nnapi/nnapi_builtin/nnapi_api_helper.cc Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com> --- .../core/providers/nnapi/nnapi_builtin/nnapi_api_helper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/nnapi/nnapi_builtin/nnapi_api_helper.cc b/onnxruntime/core/providers/nnapi/nnapi_builtin/nnapi_api_helper.cc index 2d91bc5c9b..b976630edd 100644 --- a/onnxruntime/core/providers/nnapi/nnapi_builtin/nnapi_api_helper.cc +++ b/onnxruntime/core/providers/nnapi/nnapi_builtin/nnapi_api_helper.cc @@ -32,7 +32,7 @@ static int32_t GetNNAPIRuntimeFeatureLevel(const NnApi& nnapi_handle) { * @param nnapi_handle nnapi-lib handle. * @param `devices` target devices users want to use. * - * @return The max feature level support by a branch of devices. + * @return The max feature level across all devices or the runtime feature level if no devices are specified. * */ static int32_t GetDeviceFeatureLevelInternal(const NnApi& nnapi_handle, gsl::span devices) {