aboutsummaryrefslogtreecommitdiff
path: root/1.2
diff options
context:
space:
mode:
Diffstat (limited to '1.2')
-rw-r--r--1.2/HalPolicy.cpp4
-rw-r--r--1.2/HalPolicy.hpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/1.2/HalPolicy.cpp b/1.2/HalPolicy.cpp
index abc0cfca..11a1cefa 100644
--- a/1.2/HalPolicy.cpp
+++ b/1.2/HalPolicy.cpp
@@ -131,9 +131,9 @@ bool HalPolicy::ConvertOperation(const Operation& operation, const Model& model,
switch (operation.type)
{
case V1_2::OperationType::CONV_2D:
- return ConvertConv2d<Operand, OperandType, Operation, Model>(operation, model, data);
+ return ConvertConv2d<hal_1_2::HalPolicy>(operation, model, data);
case V1_2::OperationType::DEPTHWISE_CONV_2D:
- return ConvertDepthwiseConv2d<Operand, OperandType, Operation, Model>(operation, model, data);
+ return ConvertDepthwiseConv2d<hal_1_2::HalPolicy>(operation, model, data);
default:
return Fail("%s: Operation type %s not supported in ArmnnDriver",
__func__, toString(operation.type).c_str());
diff --git a/1.2/HalPolicy.hpp b/1.2/HalPolicy.hpp
index d27e4c7a..e6001c48 100644
--- a/1.2/HalPolicy.hpp
+++ b/1.2/HalPolicy.hpp
@@ -19,6 +19,8 @@ class HalPolicy
public:
using Model = V1_2::Model;
using Operand = V1_2::Operand;
+ using OperandLifeTime = V1_0::OperandLifeTime;
+ using OperandType = V1_2::OperandType;
using Operation = V1_2::Operation;
using OperationType = V1_2::OperationType;
using ExecutionCallback = V1_2::IExecutionCallback;