diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2021-02-12 17:16:42 +0000 |
---|---|---|
committer | Kevin May <kevin.may@arm.com> | 2021-02-15 16:50:24 +0000 |
commit | 188675fd7e7239f56212d72f8ac10598de87e76a (patch) | |
tree | 611876f7c43f81c88b8dec19ae86afcb6d6a1a64 /ArmnnDriverImpl.hpp | |
parent | cd639c98c347c1addae8c65eb1f4d8e75b468fdb (diff) | |
download | android-nn-driver-188675fd7e7239f56212d72f8ac10598de87e76a.tar.gz |
IVGCVSW-5665 Basic NN Driver support for next OS Version
Signed-off-by: Kevin May <kevin.may@arm.com>
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I1e1db52322092c6b1b7ac6183c3adc90aabcec24
Diffstat (limited to 'ArmnnDriverImpl.hpp')
-rw-r--r-- | ArmnnDriverImpl.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ArmnnDriverImpl.hpp b/ArmnnDriverImpl.hpp index cdff9054..4785ef7c 100644 --- a/ArmnnDriverImpl.hpp +++ b/ArmnnDriverImpl.hpp @@ -13,6 +13,10 @@ 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_1 = ::android::hardware::neuralnetworks::V1_1; @@ -57,7 +61,7 @@ public: const android::sp<V1_0::IPreparedModelCallback>& cb, bool float32ToFloat16 = false); - static Return<DeviceStatus> getStatus(); + static Return<V1_0::DeviceStatus> getStatus(); }; |