blob: f2ed0f603389f327308d9b80ace3f10bc76e8544 [file] [log] [blame]
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "RefDynamicBackend.hpp"
#include <reference/RefBackend.hpp>
using namespace armnn;
const char* GetBackendId()
{
return RefBackend::GetIdStatic().Get().c_str();
}
void GetVersion(uint32_t* outMajor, uint32_t* outMinor)
{
if (!outMajor || !outMinor)
{
return;
}
BackendVersion apiVersion = IBackendInternal::GetApiVersion();
*outMajor = apiVersion.m_Major;
*outMinor = apiVersion.m_Minor;
}
void* BackendFactory()
{
return new RefBackend();
}