blob: f49dee0e5aaae11811d7c8b2155364be96a4d798 [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
18
19namespace V1_0 = ::android::hardware::neuralnetworks::V1_0;
20namespace V1_1 = ::android::hardware::neuralnetworks::V1_1;
21
Matteo Martincigh79250ab2018-09-04 16:28:10 +010022namespace armnn_driver
23{
arovir01b0717b52018-09-05 17:03:25 +010024namespace hal_1_1
Matteo Martincigh79250ab2018-09-04 16:28:10 +010025{
26
27class ArmnnDriverImpl
28{
29public:
arovir01b0717b52018-09-05 17:03:25 +010030 static Return<void> getCapabilities_1_1(const armnn::IRuntimePtr& runtime,
31 V1_1::IDevice::getCapabilities_1_1_cb cb);
Matteo Martincigh79250ab2018-09-04 16:28:10 +010032};
33
arovir01b0717b52018-09-05 17:03:25 +010034} // namespace hal_1_1
Matteo Martincigh79250ab2018-09-04 16:28:10 +010035} // namespace armnn_driver