aboutsummaryrefslogtreecommitdiff
path: root/ArmnnDriverImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ArmnnDriverImpl.hpp')
-rw-r--r--ArmnnDriverImpl.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ArmnnDriverImpl.hpp b/ArmnnDriverImpl.hpp
index dfaafb34..cdff9054 100644
--- a/ArmnnDriverImpl.hpp
+++ b/ArmnnDriverImpl.hpp
@@ -20,6 +20,11 @@ namespace V1_1 = ::android::hardware::neuralnetworks::V1_1;
namespace V1_2 = ::android::hardware::neuralnetworks::V1_2;
#endif
+#ifdef ARMNN_ANDROID_NN_V1_3 // Using ::android::hardware::neuralnetworks::V1_3
+namespace V1_2 = ::android::hardware::neuralnetworks::V1_2;
+namespace V1_3 = ::android::hardware::neuralnetworks::V1_3;
+#endif
+
namespace armnn_driver
{
@@ -36,6 +41,7 @@ class ArmnnDriverImpl
public:
using HalModel = typename HalPolicy::Model;
using HalGetSupportedOperations_cb = typename HalPolicy::getSupportedOperations_cb;
+ using HalErrorStatus = typename HalPolicy::ErrorStatus;
static Return<void> getSupportedOperations(
const armnn::IRuntimePtr& runtime,