From 912b36224f19952663ebd3edc2a69d9031662fd1 Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Fri, 3 May 2019 15:49:14 +0100 Subject: IVGCVSW-2911 Work towards compatibility with Q Explicitly use HAL V1_0 Operand, OperandType, and IPreparedModelCallback Change-Id: If6aa6e9dc1bd0b7673ec247ac3560e7f072ef699 Signed-off-by: Matthew Bentham --- 1.0/ArmnnDriver.hpp | 2 +- 1.0/HalPolicy.hpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to '1.0') diff --git a/1.0/ArmnnDriver.hpp b/1.0/ArmnnDriver.hpp index 52c34c46..035d4484 100644 --- a/1.0/ArmnnDriver.hpp +++ b/1.0/ArmnnDriver.hpp @@ -47,7 +47,7 @@ public: } Return prepareModel(const V1_0::Model& model, - const android::sp& cb) override + const android::sp& cb) override { ALOGV("hal_1_0::ArmnnDriver::prepareModel()"); diff --git a/1.0/HalPolicy.hpp b/1.0/HalPolicy.hpp index 484a99b2..bbdf630b 100644 --- a/1.0/HalPolicy.hpp +++ b/1.0/HalPolicy.hpp @@ -20,6 +20,8 @@ class HalPolicy { public: using Model = V1_0::Model; + using Operand = V1_0::Operand; + using OperandType = V1_0::OperandType; using Operation = V1_0::Operation; using OperationType = V1_0::OperationType; using getSupportedOperations_cb = V1_0::IDevice::getSupportedOperations_cb; -- cgit v1.2.1