IVGCVSW-3496 Fix VTS NeuralnetworksHidlTest.GetCapabilitiesTest
Signed-off-by: FinnWilliamsArm <Finn.Williams@arm.com>
Change-Id: Ib7a661b731ce581821c6d3ecaf06d1c3c850117a
diff --git a/1.2/ArmnnDriverImpl.cpp b/1.2/ArmnnDriverImpl.cpp
index 3b2cb74..82eacde 100644
--- a/1.2/ArmnnDriverImpl.cpp
+++ b/1.2/ArmnnDriverImpl.cpp
@@ -14,6 +14,7 @@
{
const char *g_RelaxedFloat32toFloat16PerformanceExecTime = "ArmNN.relaxedFloat32toFloat16Performance.execTime";
+const char *g_RelaxedFloat32toFloat16PerformancePowerUsage = "ArmNN.relaxedFloat32toFloat16Performance.powerUsage";
const char *g_OperandTypeTensorFloat32PerformanceExecTime = "Armnn.operandTypeTensorFloat32Performance.execTime";
const char *g_OperandTypeTensorFloat32PerformancePowerUsage = "Armnn.operandTypeTensorFloat32Performance.powerUsage";
@@ -218,8 +219,8 @@
capabilities.relaxedFloat32toFloat16PerformanceScalar.execTime =
ParseSystemProperty(g_RelaxedFloat32toFloat16PerformanceExecTime, defaultValue);
- capabilities.relaxedFloat32toFloat16PerformanceTensor.execTime =
- ParseSystemProperty(g_RelaxedFloat32toFloat16PerformanceExecTime, defaultValue);
+ capabilities.relaxedFloat32toFloat16PerformanceTensor.powerUsage =
+ ParseSystemProperty(g_RelaxedFloat32toFloat16PerformancePowerUsage, defaultValue);
// Set the base value for all operand types
capabilities.operandPerformance = nonExtensionOperandPerformance({FLT_MAX, FLT_MAX});