blob: 3abe75151188ae5c016bc97bc7e87c5a98119b9a [file] [log] [blame]
Matteo Martincigh79250ab2018-09-04 16:28:10 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beck93e48982018-09-05 13:05:09 +01003// SPDX-License-Identifier: MIT
Matteo Martincigh79250ab2018-09-04 16:28:10 +01004//
5
6#pragma once
7
8#include <HalInterfaces.h>
9
10#include "../DriverOptions.hpp"
11
12#include <armnn/ArmNN.hpp>
13
Kevin Mayec1e5b82020-02-26 17:00:39 +000014#ifdef ARMNN_ANDROID_R
15using namespace android::nn::hal;
16#endif
17
Sadik Armagan188675f2021-02-12 17:16:42 +000018#ifdef ARMNN_ANDROID_S
19using namespace android::hardware;
20#endif
21
arovir01b0717b52018-09-05 17:03:25 +010022namespace V1_0 = ::android::hardware::neuralnetworks::V1_0;
23
Matteo Martincigh79250ab2018-09-04 16:28:10 +010024namespace armnn_driver
25{
arovir01b0717b52018-09-05 17:03:25 +010026namespace hal_1_0
Matteo Martincigh79250ab2018-09-04 16:28:10 +010027{
28
29class ArmnnDriverImpl
30{
31public:
arovir01b0717b52018-09-05 17:03:25 +010032 static Return<void> getCapabilities(const armnn::IRuntimePtr& runtime, V1_0::IDevice::getCapabilities_cb cb);
Matteo Martincigh79250ab2018-09-04 16:28:10 +010033};
34
arovir01b0717b52018-09-05 17:03:25 +010035} // namespace hal_1_0
Matteo Martincigh79250ab2018-09-04 16:28:10 +010036} // namespace armnn_driver