diff options
author | Jim Flynn <jim.flynn@arm.com> | 2021-10-26 21:26:10 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2021-10-26 21:27:22 +0100 |
commit | e1fdd2866b0f403b5e80994890d62c2c038c16c9 (patch) | |
tree | d7398443532cbafde7c6824015397e6bac6dd502 /src/backends/backendsCommon/MemoryOptimizerStrategyFactory.hpp | |
parent | ca5883951ab51191eb19502459f0936fc96e14f1 (diff) | |
download | armnn-e1fdd2866b0f403b5e80994890d62c2c038c16c9.tar.gz |
IVGCVSW-6470 Create MemoryStrategyBenchmark
* Refactor the strategy library to be more generic
* Shorten the names of the current strategies
* Change validatorStrat to throw exceptions
Change-Id: I0d9c9ef609b2d8675e5788610d1accac6767c660
Signed-off-by: Finn Williams <finwil01@e127804.cambridge.arm.com>
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/backends/backendsCommon/MemoryOptimizerStrategyFactory.hpp')
-rw-r--r-- | src/backends/backendsCommon/MemoryOptimizerStrategyFactory.hpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/backends/backendsCommon/MemoryOptimizerStrategyFactory.hpp b/src/backends/backendsCommon/MemoryOptimizerStrategyFactory.hpp deleted file mode 100644 index 62a2182a6e..0000000000 --- a/src/backends/backendsCommon/MemoryOptimizerStrategyFactory.hpp +++ /dev/null @@ -1,28 +0,0 @@ -// -// Copyright © 2021 Arm Ltd and Contributors. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#pragma once - -#include <armnn/backends/IMemoryOptimizerStrategy.hpp> - -#include <algorithm> - -namespace armnn -{ - -class MemoryOptimizerStrategyFactory -{ -public: - MemoryOptimizerStrategyFactory() {} - - template <typename T> - std::shared_ptr<IMemoryOptimizerStrategy> CreateMemoryOptimizerStrategy() - { - return std::make_shared<T>(); - } - -}; - -} // namespace armnn
\ No newline at end of file |