blob: 544104a1ac9c6c3b806b453ed85b238595ac0f3f [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"
Kevin DuBois30c34ae2020-08-26 13:53:41 -070011#include "../NamespaceAdaptor.hpp"
Matteo Martincigh79250ab2018-09-04 16:28:10 +010012
13#include <armnn/ArmNN.hpp>
14
Kevin DuBoisc0945c72020-11-20 16:57:09 -080015#if ARMNN_ANDROID_S
16using namespace android::nn;
17#elif ARMNN_ANDROID_R
Kevin Mayec1e5b82020-02-26 17:00:39 +000018using namespace android::nn::hal;
19#endif
20
Matteo Martincigh79250ab2018-09-04 16:28:10 +010021namespace armnn_driver
22{
arovir01b0717b52018-09-05 17:03:25 +010023namespace hal_1_0
Matteo Martincigh79250ab2018-09-04 16:28:10 +010024{
25
26class ArmnnDriverImpl
27{
28public:
arovir01b0717b52018-09-05 17:03:25 +010029 static Return<void> getCapabilities(const armnn::IRuntimePtr& runtime, V1_0::IDevice::getCapabilities_cb cb);
Matteo Martincigh79250ab2018-09-04 16:28:10 +010030};
31
arovir01b0717b52018-09-05 17:03:25 +010032} // namespace hal_1_0
Matteo Martincigh79250ab2018-09-04 16:28:10 +010033} // namespace armnn_driver