diff options
Diffstat (limited to 'src/backends/tosaReference/TosaRefRegistryInitializer.cpp')
-rw-r--r-- | src/backends/tosaReference/TosaRefRegistryInitializer.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/backends/tosaReference/TosaRefRegistryInitializer.cpp b/src/backends/tosaReference/TosaRefRegistryInitializer.cpp new file mode 100644 index 0000000000..71052f7b24 --- /dev/null +++ b/src/backends/tosaReference/TosaRefRegistryInitializer.cpp @@ -0,0 +1,25 @@ +// +// Copyright © 2022 Arm Ltd and Contributors. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#include "TosaRefBackend.hpp" + +#include <armnn/BackendRegistry.hpp> + +namespace +{ + +using namespace armnn; + +static BackendRegistry::StaticRegistryInitializer g_RegisterHelper +{ + BackendRegistryInstance(), + TosaRefBackend::GetIdStatic(), + []() + { + return IBackendInternalUniquePtr(new TosaRefBackend); + } +}; + +} // Anonymous namespace |