aboutsummaryrefslogtreecommitdiff
path: root/1.3/ArmnnDriverImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to '1.3/ArmnnDriverImpl.hpp')
-rw-r--r--1.3/ArmnnDriverImpl.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/1.3/ArmnnDriverImpl.hpp b/1.3/ArmnnDriverImpl.hpp
index 2b39d4e0..3c094fe5 100644
--- a/1.3/ArmnnDriverImpl.hpp
+++ b/1.3/ArmnnDriverImpl.hpp
@@ -11,7 +11,13 @@
#include <armnn/ArmNN.hpp>
+#if !defined(ARMNN_ANDROID_S)
using namespace android::nn::hal;
+#endif
+
+#ifdef ARMNN_ANDROID_S
+using namespace android::hardware;
+#endif
namespace V1_0 = ::android::hardware::neuralnetworks::V1_0;
namespace V1_2 = ::android::hardware::neuralnetworks::V1_2;