You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
745 B
40 lines
745 B
//
|
|
// Copyright © 2017 Arm Ltd. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <HalInterfaces.h>
|
|
|
|
#include "../DriverOptions.hpp"
|
|
|
|
#include <armnn/ArmNN.hpp>
|
|
|
|
#ifdef ARMNN_ANDROID_R
|
|
using namespace android::nn::hal;
|
|
#endif
|
|
|
|
#ifdef ARMNN_ANDROID_S
|
|
using namespace android::hardware;
|
|
#endif
|
|
|
|
|
|
namespace V1_0 = ::android::hardware::neuralnetworks::V1_0;
|
|
namespace V1_1 = ::android::hardware::neuralnetworks::V1_1;
|
|
|
|
namespace armnn_driver
|
|
{
|
|
namespace hal_1_1
|
|
{
|
|
|
|
class ArmnnDriverImpl
|
|
{
|
|
public:
|
|
static Return<void> getCapabilities_1_1(const armnn::IRuntimePtr& runtime,
|
|
V1_1::IDevice::getCapabilities_1_1_cb cb);
|
|
};
|
|
|
|
} // namespace hal_1_1
|
|
} // namespace armnn_driver
|