1 // 2 // Copyright © 2017 Arm Ltd. All rights reserved. 3 // SPDX-License-Identifier: MIT 4 // 5 6 #pragma once 7 8 #include <HalInterfaces.h> 9 10 #include "../DriverOptions.hpp" 11 12 #include <armnn/ArmNN.hpp> 13 14 #ifdef ARMNN_ANDROID_R 15 using namespace android::nn::hal; 16 #endif 17 18 #ifdef ARMNN_ANDROID_S 19 using namespace android::hardware; 20 #endif 21 22 namespace V1_0 = ::android::hardware::neuralnetworks::V1_0; 23 24 namespace armnn_driver 25 { 26 namespace hal_1_0 27 { 28 29 class ArmnnDriverImpl 30 { 31 public: 32 static Return<void> getCapabilities(const armnn::IRuntimePtr& runtime, V1_0::IDevice::getCapabilities_cb cb); 33 }; 34 35 } // namespace hal_1_0 36 } // namespace armnn_driver 37