• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #include "../NamespaceAdaptor.hpp"
12 
13 #include <armnn/ArmNN.hpp>
14 
15 #if ARMNN_ANDROID_S
16 using namespace android::nn;
17 #elif ARMNN_ANDROID_R
18 using namespace android::nn::hal;
19 #endif
20 
21 namespace armnn_driver
22 {
23 namespace hal_1_0
24 {
25 
26 class ArmnnDriverImpl
27 {
28 public:
29     static Return<void> getCapabilities(const armnn::IRuntimePtr& runtime, V1_0::IDevice::getCapabilities_cb cb);
30 };
31 
32 } // namespace hal_1_0
33 } // namespace armnn_driver
34