From df655ee1dbe570de7a348888a92e73bae3dc37b4 Mon Sep 17 00:00:00 2001 From: FinnWilliamsArm Date: Wed, 24 Jul 2019 16:04:18 +0100 Subject: IVGCVSW-3496 Fix VTS NeuralnetworksHidlTest.GetCapabilitiesTest Signed-off-by: FinnWilliamsArm Change-Id: Ib7a661b731ce581821c6d3ecaf06d1c3c850117a --- 1.2/ArmnnDriverImpl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/1.2/ArmnnDriverImpl.cpp b/1.2/ArmnnDriverImpl.cpp index 3b2cb744..82eacde8 100644 --- a/1.2/ArmnnDriverImpl.cpp +++ b/1.2/ArmnnDriverImpl.cpp @@ -14,6 +14,7 @@ namespace { 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 @@ Return ArmnnDriverImpl::getCapabilities_1_2(const armnn::IRuntimePtr& runt 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}); -- cgit v1.2.1