xref: /aosp_15_r20/external/android-nn-driver/1.1/ArmnnDriverImpl.hpp (revision 3e777be0405cee09af5d5785ff37f7cfb5bee59a)
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 
23 namespace V1_0 = ::android::hardware::neuralnetworks::V1_0;
24 namespace V1_1 = ::android::hardware::neuralnetworks::V1_1;
25 
26 namespace armnn_driver
27 {
28 namespace hal_1_1
29 {
30 
31 class ArmnnDriverImpl
32 {
33 public:
34     static Return<void> getCapabilities_1_1(const armnn::IRuntimePtr& runtime,
35                                             V1_1::IDevice::getCapabilities_1_1_cb cb);
36 };
37 
38 } // namespace hal_1_1
39 } // namespace armnn_driver
40