diff options
author | Jim Flynn <jim.flynn@arm.com> | 2020-03-19 17:03:14 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-03-19 17:03:14 +0000 |
commit | 0e2bab81442ee6cc2b94e4f7881ed0c5c6af65e7 (patch) | |
tree | b0af08b5a0b74149fca422151127ac6310385399 /src/backends/reference/test/RefWorkloadFactoryHelper.hpp | |
parent | 8c3259fa007d43fcc5ea56fe6928526dbe79f3c0 (diff) | |
download | armnn-0e2bab81442ee6cc2b94e4f7881ed0c5c6af65e7.tar.gz |
Creating gh-pages documentation for ArmNN
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/backends/reference/test/RefWorkloadFactoryHelper.hpp')
-rw-r--r-- | src/backends/reference/test/RefWorkloadFactoryHelper.hpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/backends/reference/test/RefWorkloadFactoryHelper.hpp b/src/backends/reference/test/RefWorkloadFactoryHelper.hpp deleted file mode 100644 index 10e5b9fa28..0000000000 --- a/src/backends/reference/test/RefWorkloadFactoryHelper.hpp +++ /dev/null @@ -1,35 +0,0 @@ -// -// Copyright © 2017 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#pragma once - -#include <backendsCommon/test/WorkloadFactoryHelper.hpp> - -#include <reference/RefBackend.hpp> -#include <reference/RefWorkloadFactory.hpp> - -namespace -{ - -template<> -struct WorkloadFactoryHelper<armnn::RefWorkloadFactory> -{ - static armnn::IBackendInternal::IMemoryManagerSharedPtr GetMemoryManager() - { - armnn::RefBackend backend; - return backend.CreateMemoryManager(); - } - - static armnn::RefWorkloadFactory GetFactory( - const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager = nullptr) - { - boost::ignore_unused(memoryManager); - return armnn::RefWorkloadFactory(); - } -}; - -using RefWorkloadFactoryHelper = WorkloadFactoryHelper<armnn::RefWorkloadFactory>; - -} // anonymous namespace |