aboutsummaryrefslogtreecommitdiff
path: root/shim/sl/scripts/NeuralNetworks_cpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'shim/sl/scripts/NeuralNetworks_cpp.patch')
-rw-r--r--shim/sl/scripts/NeuralNetworks_cpp.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/shim/sl/scripts/NeuralNetworks_cpp.patch b/shim/sl/scripts/NeuralNetworks_cpp.patch
new file mode 100644
index 0000000000..40bdc07e8b
--- /dev/null
+++ b/shim/sl/scripts/NeuralNetworks_cpp.patch
@@ -0,0 +1,13 @@
+diff --git a/runtime/NeuralNetworks.cpp b/runtime/NeuralNetworks.cpp
+index b91d3ce45..8977dac68 100644
+--- a/runtime/NeuralNetworks.cpp
++++ b/runtime/NeuralNetworks.cpp
+@@ -1859,7 +1859,7 @@ int SL_ANeuralNetworksDevice_forEachVendorExtensionOperandTypeInformation(
+ #define NNCL_FUNC(symbol) .symbol = symbol
+
+ NnApiSLDriverImplFL5 slDriverImpl{
+- .base{.implFeatureLevel = ANEURALNETWORKS_FEATURE_LEVEL_5},
++ .base={.implFeatureLevel = ANEURALNETWORKS_FEATURE_LEVEL_5},
+ NNCL_FUNC(ANeuralNetworksBurst_create),
+ NNCL_FUNC(ANeuralNetworksBurst_free),
+ NNCL_FUNC(ANeuralNetworksCompilation_createForDevices),