blob: 7058d24e72db3af26fb3fe0918c4b19740cbef9a [file] [log] [blame]
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "NeonBackend.hpp"
#include "NeonBackendId.hpp"
#include "NeonWorkloadFactory.hpp"
#include <backendsCommon/BackendRegistry.hpp>
#include <boost/cast.hpp>
namespace armnn
{
namespace
{
static StaticRegistryInitializer<BackendRegistry> g_RegisterHelper
{
BackendRegistryInstance(),
NeonBackend::GetIdStatic(),
[]()
{
return IBackendInternalUniquePtr(new NeonBackend);
}
};
}
const BackendId& NeonBackend::GetIdStatic()
{
static const BackendId s_Id{NeonBackendId()};
return s_Id;
}
IBackendInternal::IWorkloadFactoryPtr NeonBackend::CreateWorkloadFactory() const
{
return std::make_unique<NeonWorkloadFactory>();
}
} // namespace armnn