blob: 2ef51db830011e8b4fc233b31c71c67956d869fc [file] [log] [blame]
Mike Kellyb5fdf382019-06-11 16:35:25 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#include "ArmnnDriverImpl.hpp"
7#include "../ArmnnPreparedModel_1_2.hpp"
8#include "../ModelToINetworkConverter.hpp"
9#include "../SystemPropertiesUtils.hpp"
10
11#include <log/log.h>
12
13namespace
14{
15
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +010016const char *g_RelaxedFloat32toFloat16PerformanceExecTime = "ArmNN.relaxedFloat32toFloat16Performance.execTime";
FinnWilliamsArmdf655ee2019-07-24 16:04:18 +010017const char *g_RelaxedFloat32toFloat16PerformancePowerUsage = "ArmNN.relaxedFloat32toFloat16Performance.powerUsage";
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +010018
19const char *g_OperandTypeTensorFloat32PerformanceExecTime = "Armnn.operandTypeTensorFloat32Performance.execTime";
20const char *g_OperandTypeTensorFloat32PerformancePowerUsage = "Armnn.operandTypeTensorFloat32Performance.powerUsage";
21
22const char *g_OperandTypeFloat32PerformanceExecTime = "Armnn.operandTypeFloat32Performance.execTime";
23const char *g_OperandTypeFloat32PerformancePowerUsage = "Armnn.operandTypeFloat32Performance.powerUsage";
24
25const char *g_OperandTypeTensorFloat16PerformanceExecTime = "Armnn.operandTypeTensorFloat16Performance.execTime";
26const char *g_OperandTypeTensorFloat16PerformancePowerUsage = "Armnn.operandTypeTensorFloat16Performance.powerUsage";
27
28const char *g_OperandTypeFloat16PerformanceExecTime = "Armnn.operandTypeFloat16Performance.execTime";
29const char *g_OperandTypeFloat16PerformancePowerUsage = "Armnn.operandTypeFloat16Performance.powerUsage";
30
31const char *g_OperandTypeTensorQuant8AsymmPerformanceExecTime =
32 "Armnn.operandTypeTensorQuant8AsymmPerformance.execTime";
33const char *g_OperandTypeTensorQuant8AsymmPerformancePowerUsage =
34 "Armnn.operandTypeTensorQuant8AsymmPerformance.powerUsage";
35
36const char *g_OperandTypeTensorQuant16SymmPerformanceExecTime =
37 "Armnn.operandTypeTensorQuant16SymmPerformance.execTime";
38const char *g_OperandTypeTensorQuant16SymmPerformancePowerUsage =
39 "Armnn.operandTypeTensorQuant16SymmPerformance.powerUsage";
40
Pablo Tellofb45e2f2019-10-18 16:51:57 +010041const char *g_OperandTypeTensorQuant8SymmPerformanceExecTime =
42 "Armnn.operandTypeTensorQuant8SymmPerformance.execTime";
43const char *g_OperandTypeTensorQuant8SymmPerformancePowerUsage =
44 "Armnn.operandTypeTensorQuant8SymmPerformance.powerUsage";
45
Kevin May87cb7612019-11-11 17:30:35 +000046const char *g_OperandTypeTensorQuant8SymmPerChannelPerformanceExecTime =
47 "Armnn.operandTypeTensorQuant8SymmPerChannelPerformance.execTime";
48const char *g_OperandTypeTensorQuant8SymmPerChannelPerformancePowerUsage =
49 "Armnn.operandTypeTensorQuant8SymmPerChannelPerformance.powerUsage";
50
Pablo Tellofb45e2f2019-10-18 16:51:57 +010051
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +010052const char *g_OperandTypeTensorInt32PerformanceExecTime = "Armnn.operandTypeTensorInt32Performance.execTime";
53const char *g_OperandTypeTensorInt32PerformancePowerUsage = "Armnn.operandTypeTensorInt32Performance.powerUsage";
54
55const char *g_OperandTypeInt32PerformanceExecTime = "Armnn.operandTypeInt32Performance.execTime";
56const char *g_OperandTypeInt32PerformancePowerUsage = "Armnn.operandTypeInt32Performance.powerUsage";
57
58
Mike Kellyb5fdf382019-06-11 16:35:25 +010059void NotifyCallbackAndCheck(const sp<V1_2::IPreparedModelCallback>& callback,
Kevin Mayec1e5b82020-02-26 17:00:39 +000060 V1_0::ErrorStatus errorStatus,
Mike Kellyb5fdf382019-06-11 16:35:25 +010061 const sp<V1_2::IPreparedModel>& preparedModelPtr)
62{
Ferran Balaguerb2397fd2019-07-25 12:12:39 +010063 Return<void> returned = callback->notify_1_2(errorStatus, preparedModelPtr);
Mike Kellyb5fdf382019-06-11 16:35:25 +010064 // This check is required, if the callback fails and it isn't checked it will bring down the service
65 if (!returned.isOk())
66 {
67 ALOGE("ArmnnDriverImpl::prepareModel: hidl callback failed to return properly: %s ",
68 returned.description().c_str());
69 }
70}
71
Kevin Mayec1e5b82020-02-26 17:00:39 +000072Return<V1_0::ErrorStatus> FailPrepareModel(V1_0::ErrorStatus error,
73 const std::string& message,
74 const sp<V1_2::IPreparedModelCallback>& callback)
Mike Kellyb5fdf382019-06-11 16:35:25 +010075{
76 ALOGW("ArmnnDriverImpl::prepareModel: %s", message.c_str());
77 NotifyCallbackAndCheck(callback, error, nullptr);
78 return error;
79}
80
81} // anonymous namespace
82
83namespace armnn_driver
84{
85namespace hal_1_2
86{
87
Kevin Mayec1e5b82020-02-26 17:00:39 +000088Return<V1_0::ErrorStatus> ArmnnDriverImpl::prepareArmnnModel_1_2(
89 const armnn::IRuntimePtr& runtime,
90 const armnn::IGpuAccTunedParametersPtr& clTunedParameters,
91 const DriverOptions& options,
92 const V1_2::Model& model,
93 const sp<V1_2::IPreparedModelCallback>& cb,
94 bool float32ToFloat16)
Mike Kellyb5fdf382019-06-11 16:35:25 +010095{
Matteo Martincigh0bd89a82019-07-02 16:53:10 +010096 ALOGV("ArmnnDriverImpl::prepareArmnnModel_1_2()");
Mike Kellyb5fdf382019-06-11 16:35:25 +010097
98 if (cb.get() == nullptr)
99 {
100 ALOGW("ArmnnDriverImpl::prepareModel: Invalid callback passed to prepareModel");
Kevin Mayec1e5b82020-02-26 17:00:39 +0000101 return V1_0::ErrorStatus::INVALID_ARGUMENT;
Mike Kellyb5fdf382019-06-11 16:35:25 +0100102 }
103
104 if (!runtime)
105 {
Kevin Mayec1e5b82020-02-26 17:00:39 +0000106 return FailPrepareModel(V1_0::ErrorStatus::DEVICE_UNAVAILABLE, "Device unavailable", cb);
Mike Kellyb5fdf382019-06-11 16:35:25 +0100107 }
108
109 if (!android::nn::validateModel(model))
110 {
Kevin Mayec1e5b82020-02-26 17:00:39 +0000111 return FailPrepareModel(V1_0::ErrorStatus::INVALID_ARGUMENT, "Invalid model passed as input", cb);
Mike Kellyb5fdf382019-06-11 16:35:25 +0100112 }
113
114 // Deliberately ignore any unsupported operations requested by the options -
115 // at this point we're being asked to prepare a model that we've already declared support for
116 // and the operation indices may be different to those in getSupportedOperations anyway.
117 std::set<unsigned int> unsupportedOperations;
118 ModelToINetworkConverter<HalPolicy> modelConverter(options.GetBackends(),
119 model,
120 unsupportedOperations);
121
122 if (modelConverter.GetConversionResult() != ConversionResult::Success)
123 {
Kevin Mayec1e5b82020-02-26 17:00:39 +0000124 FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, "ModelToINetworkConverter failed", cb);
125 return V1_0::ErrorStatus::NONE;
Mike Kellyb5fdf382019-06-11 16:35:25 +0100126 }
127
Sadik Armaganb3021432021-01-13 15:56:51 +0000128 // Serialize the network graph to a .armnn file if an output directory
129 // has been specified in the drivers' arguments.
130 auto serializedNetworkFileName =
131 SerializeNetwork(*modelConverter.GetINetwork(), options.GetRequestInputsAndOutputsDumpDir());
132
Mike Kellyb5fdf382019-06-11 16:35:25 +0100133 // Optimize the network
134 armnn::IOptimizedNetworkPtr optNet(nullptr, nullptr);
135 armnn::OptimizerOptions OptOptions;
136 OptOptions.m_ReduceFp32ToFp16 = float32ToFloat16;
137
Mike Kelly7ed56dd2020-09-30 20:22:56 +0100138 armnn::BackendOptions gpuAcc("GpuAcc",
139 {
Sadik Armaganf36e10b2021-01-11 16:34:01 +0000140 { "FastMathEnabled", options.IsFastMathEnabled() },
141 { "SaveCachedNetwork", options.SaveCachedNetwork() },
142 { "CachedNetworkFilePath", options.GetCachedNetworkFilePath() }
Mike Kelly7ed56dd2020-09-30 20:22:56 +0100143 });
144 armnn::BackendOptions cpuAcc("CpuAcc",
145 {
146 { "FastMathEnabled", options.IsFastMathEnabled() }
147 });
148 OptOptions.m_ModelOptions.push_back(gpuAcc);
149 OptOptions.m_ModelOptions.push_back(cpuAcc);
150
Mike Kellyb5fdf382019-06-11 16:35:25 +0100151 std::vector<std::string> errMessages;
152 try
153 {
154 optNet = armnn::Optimize(*modelConverter.GetINetwork(),
155 options.GetBackends(),
156 runtime->GetDeviceSpec(),
157 OptOptions,
158 errMessages);
159 }
Derek Lambertib9cb8442019-11-28 13:34:48 +0000160 catch (std::exception &e)
Mike Kellyb5fdf382019-06-11 16:35:25 +0100161 {
162 std::stringstream message;
Derek Lambertib9cb8442019-11-28 13:34:48 +0000163 message << "Exception (" << e.what() << ") caught from optimize.";
Kevin Mayec1e5b82020-02-26 17:00:39 +0000164 FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, message.str(), cb);
165 return V1_0::ErrorStatus::NONE;
Mike Kellyb5fdf382019-06-11 16:35:25 +0100166 }
167
168 // Check that the optimized network is valid.
169 if (!optNet)
170 {
171 std::stringstream message;
172 message << "Invalid optimized network";
173 for (const std::string& msg : errMessages)
174 {
175 message << "\n" << msg;
176 }
Kevin Mayec1e5b82020-02-26 17:00:39 +0000177 FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, message.str(), cb);
178 return V1_0::ErrorStatus::NONE;
Mike Kellyb5fdf382019-06-11 16:35:25 +0100179 }
180
181 // Export the optimized network graph to a dot file if an output dump directory
182 // has been specified in the drivers' arguments.
Jim Flynn829ad302019-12-13 14:43:24 +0000183 std::string dotGraphFileName = ExportNetworkGraphToDotFile(*optNet,
184 options.GetRequestInputsAndOutputsDumpDir());
Mike Kellyb5fdf382019-06-11 16:35:25 +0100185
186 // Load it into the runtime.
187 armnn::NetworkId netId = 0;
188 try
189 {
190 if (runtime->LoadNetwork(netId, move(optNet)) != armnn::Status::Success)
191 {
Kevin Mayec1e5b82020-02-26 17:00:39 +0000192 return FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, "Network could not be loaded", cb);
Mike Kellyb5fdf382019-06-11 16:35:25 +0100193 }
194 }
Derek Lambertib9cb8442019-11-28 13:34:48 +0000195 catch (std::exception& e)
Mike Kellyb5fdf382019-06-11 16:35:25 +0100196 {
197 std::stringstream message;
Derek Lambertib9cb8442019-11-28 13:34:48 +0000198 message << "Exception (" << e.what()<< ") caught from LoadNetwork.";
Kevin Mayec1e5b82020-02-26 17:00:39 +0000199 FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, message.str(), cb);
200 return V1_0::ErrorStatus::NONE;
Mike Kellyb5fdf382019-06-11 16:35:25 +0100201 }
202
Sadik Armaganb3021432021-01-13 15:56:51 +0000203 // Now that we have a networkId for the graph rename the exported files to use it
204 // so that we can associate the graph file and the input/output tensor exported files
205 RenameExportedFiles(serializedNetworkFileName,
206 dotGraphFileName,
207 options.GetRequestInputsAndOutputsDumpDir(),
208 netId);
Jim Flynn829ad302019-12-13 14:43:24 +0000209
Mike Kellyb5fdf382019-06-11 16:35:25 +0100210 std::unique_ptr<ArmnnPreparedModel_1_2<hal_1_2::HalPolicy>> preparedModel(
211 new ArmnnPreparedModel_1_2<hal_1_2::HalPolicy>(
212 netId,
213 runtime.get(),
214 model,
215 options.GetRequestInputsAndOutputsDumpDir(),
216 options.IsGpuProfilingEnabled()));
217
218 // Run a single 'dummy' inference of the model. This means that CL kernels will get compiled (and tuned if
219 // this is enabled) before the first 'real' inference which removes the overhead of the first inference.
220 if (!preparedModel->ExecuteWithDummyInputs())
221 {
Kevin Mayec1e5b82020-02-26 17:00:39 +0000222 return FailPrepareModel(V1_0::ErrorStatus::GENERAL_FAILURE, "Network could not be executed", cb);
Mike Kellyb5fdf382019-06-11 16:35:25 +0100223 }
224
225 if (clTunedParameters &&
226 options.GetClTunedParametersMode() == armnn::IGpuAccTunedParameters::Mode::UpdateTunedParameters)
227 {
228 // Now that we've done one inference the CL kernel parameters will have been tuned, so save the updated file.
229 try
230 {
231 clTunedParameters->Save(options.GetClTunedParametersFile().c_str());
232 }
Derek Lambertib9cb8442019-11-28 13:34:48 +0000233 catch (std::exception& error)
Mike Kellyb5fdf382019-06-11 16:35:25 +0100234 {
235 ALOGE("ArmnnDriverImpl::prepareModel: Failed to save CL tuned parameters file '%s': %s",
236 options.GetClTunedParametersFile().c_str(), error.what());
237 }
238 }
239
Kevin Mayec1e5b82020-02-26 17:00:39 +0000240 NotifyCallbackAndCheck(cb, V1_0::ErrorStatus::NONE, preparedModel.release());
Mike Kellyb5fdf382019-06-11 16:35:25 +0100241
Kevin Mayec1e5b82020-02-26 17:00:39 +0000242 return V1_0::ErrorStatus::NONE;
Mike Kellyb5fdf382019-06-11 16:35:25 +0100243}
244
245Return<void> ArmnnDriverImpl::getCapabilities_1_2(const armnn::IRuntimePtr& runtime,
246 V1_2::IDevice::getCapabilities_1_2_cb cb)
247{
248 ALOGV("hal_1_2::ArmnnDriverImpl::getCapabilities()");
249
250 V1_2::Capabilities capabilities;
251
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100252 float defaultValue = .1f;
253
Mike Kellyb5fdf382019-06-11 16:35:25 +0100254 if (runtime)
255 {
256 capabilities.relaxedFloat32toFloat16PerformanceScalar.execTime =
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100257 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformanceExecTime, defaultValue);
Mike Kellyb5fdf382019-06-11 16:35:25 +0100258
Kevin May2eaa1192020-04-15 16:50:57 +0100259 capabilities.relaxedFloat32toFloat16PerformanceScalar.powerUsage =
260 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformancePowerUsage, defaultValue);
261
262 capabilities.relaxedFloat32toFloat16PerformanceTensor.execTime =
263 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformanceExecTime, defaultValue);
264
FinnWilliamsArmdf655ee2019-07-24 16:04:18 +0100265 capabilities.relaxedFloat32toFloat16PerformanceTensor.powerUsage =
266 ParseSystemProperty(g_RelaxedFloat32toFloat16PerformancePowerUsage, defaultValue);
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100267
268 // Set the base value for all operand types
Kevin Mayec1e5b82020-02-26 17:00:39 +0000269 #ifdef ARMNN_ANDROID_R
270 capabilities.operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_2>({FLT_MAX, FLT_MAX});
271 #else
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100272 capabilities.operandPerformance = nonExtensionOperandPerformance({FLT_MAX, FLT_MAX});
Kevin Mayec1e5b82020-02-26 17:00:39 +0000273 #endif
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100274
275 // Load supported operand types
Kevin Mayec1e5b82020-02-26 17:00:39 +0000276 update(&capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32,
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100277 {
278 .execTime = ParseSystemProperty(g_OperandTypeTensorFloat32PerformanceExecTime, defaultValue),
279 .powerUsage = ParseSystemProperty(g_OperandTypeTensorFloat32PerformancePowerUsage, defaultValue)
280 });
281
Kevin Mayec1e5b82020-02-26 17:00:39 +0000282 update(&capabilities.operandPerformance, V1_2::OperandType::FLOAT32,
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100283 {
284 .execTime = ParseSystemProperty(g_OperandTypeFloat32PerformanceExecTime, defaultValue),
285 .powerUsage = ParseSystemProperty(g_OperandTypeFloat32PerformancePowerUsage, defaultValue)
286 });
287
Kevin Mayec1e5b82020-02-26 17:00:39 +0000288 update(&capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT16,
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100289 {
290 .execTime = ParseSystemProperty(g_OperandTypeTensorFloat16PerformanceExecTime, defaultValue),
291 .powerUsage = ParseSystemProperty(g_OperandTypeTensorFloat16PerformancePowerUsage, defaultValue)
292 });
293
Kevin Mayec1e5b82020-02-26 17:00:39 +0000294 update(&capabilities.operandPerformance, V1_2::OperandType::FLOAT16,
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100295 {
296 .execTime = ParseSystemProperty(g_OperandTypeFloat16PerformanceExecTime, defaultValue),
297 .powerUsage = ParseSystemProperty(g_OperandTypeFloat16PerformancePowerUsage, defaultValue)
298 });
299
Kevin Mayec1e5b82020-02-26 17:00:39 +0000300 update(&capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_ASYMM,
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100301 {
302 .execTime = ParseSystemProperty(g_OperandTypeTensorQuant8AsymmPerformanceExecTime, defaultValue),
303 .powerUsage = ParseSystemProperty(g_OperandTypeTensorQuant8AsymmPerformancePowerUsage, defaultValue)
304 });
305
Kevin Mayec1e5b82020-02-26 17:00:39 +0000306 update(&capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_SYMM,
Pablo Tellofb45e2f2019-10-18 16:51:57 +0100307 {
308 .execTime = ParseSystemProperty(g_OperandTypeTensorQuant8SymmPerformanceExecTime, defaultValue),
309 .powerUsage = ParseSystemProperty(g_OperandTypeTensorQuant8SymmPerformancePowerUsage, defaultValue)
310 });
311
Kevin Mayec1e5b82020-02-26 17:00:39 +0000312 update(&capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT16_SYMM,
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100313 {
314 .execTime = ParseSystemProperty(g_OperandTypeTensorQuant16SymmPerformanceExecTime, defaultValue),
315 .powerUsage = ParseSystemProperty(g_OperandTypeTensorQuant16SymmPerformancePowerUsage, defaultValue)
316 });
317
Kevin Mayec1e5b82020-02-26 17:00:39 +0000318 update(&capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_SYMM_PER_CHANNEL,
Kevin May87cb7612019-11-11 17:30:35 +0000319 {
320 .execTime =
321 ParseSystemProperty(g_OperandTypeTensorQuant8SymmPerChannelPerformanceExecTime, defaultValue),
322 .powerUsage =
323 ParseSystemProperty(g_OperandTypeTensorQuant8SymmPerChannelPerformancePowerUsage, defaultValue)
324 });
325
Kevin Mayec1e5b82020-02-26 17:00:39 +0000326 update(&capabilities.operandPerformance, V1_2::OperandType::TENSOR_INT32,
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100327 {
328 .execTime = ParseSystemProperty(g_OperandTypeTensorInt32PerformanceExecTime, defaultValue),
329 .powerUsage = ParseSystemProperty(g_OperandTypeTensorInt32PerformancePowerUsage, defaultValue)
330 });
331
Kevin Mayec1e5b82020-02-26 17:00:39 +0000332 update(&capabilities.operandPerformance, V1_2::OperandType::INT32,
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100333 {
334 .execTime = ParseSystemProperty(g_OperandTypeInt32PerformanceExecTime, defaultValue),
335 .powerUsage = ParseSystemProperty(g_OperandTypeInt32PerformancePowerUsage, defaultValue)
336 });
Mike Kellyb5fdf382019-06-11 16:35:25 +0100337
Kevin Mayec1e5b82020-02-26 17:00:39 +0000338 cb(V1_0::ErrorStatus::NONE, capabilities);
Mike Kellyb5fdf382019-06-11 16:35:25 +0100339 }
340 else
341 {
Kevin May2eaa1192020-04-15 16:50:57 +0100342 capabilities.relaxedFloat32toFloat16PerformanceScalar.execTime = 0;
343 capabilities.relaxedFloat32toFloat16PerformanceScalar.powerUsage = 0;
344 capabilities.relaxedFloat32toFloat16PerformanceTensor.execTime = 0;
345 capabilities.relaxedFloat32toFloat16PerformanceTensor.powerUsage = 0;
Mike Kellyb5fdf382019-06-11 16:35:25 +0100346
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100347 // Set the base value for all operand types
Kevin Mayec1e5b82020-02-26 17:00:39 +0000348 #ifdef ARMNN_ANDROID_R
349 capabilities.operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_2>({0.f, 0.0f});
350 #else
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100351 capabilities.operandPerformance = nonExtensionOperandPerformance({0.f, 0.0f});
Kevin Mayec1e5b82020-02-26 17:00:39 +0000352 #endif
Ferran Balaguerd7c8eb92019-07-01 13:37:44 +0100353
Kevin Mayec1e5b82020-02-26 17:00:39 +0000354 cb(V1_0::ErrorStatus::DEVICE_UNAVAILABLE, capabilities);
Mike Kellyb5fdf382019-06-11 16:35:25 +0100355 }
356
357 return Void();
358}
359
360} // namespace hal_1_2
Kevin Mayec1e5b82020-02-26 17:00:39 +0000361} // namespace armnn_driver