diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2020-03-19 18:16:46 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2020-03-20 08:40:35 +0000 |
commit | ea41b57721b644b9350e14754d3ecdcfba87667f (patch) | |
tree | 8c1af375cc5df932f26423380e4536b7aaca7d13 /src/armnn/test/TestUtils.hpp | |
parent | b60dd243d3d8131f246f2b122309b998287151d2 (diff) | |
download | armnn-ea41b57721b644b9350e14754d3ecdcfba87667f.tar.gz |
IVGCVSW-4582 Undefined reference to GetProfilingService causes failure in the Backends CI job
* Enable the GetProfilingService() function to BackendProfilingTests and ProfilingTestUtils
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I32e3625db0f465883f2ec27fb7c2fad4e91b6306
Diffstat (limited to 'src/armnn/test/TestUtils.hpp')
-rw-r--r-- | src/armnn/test/TestUtils.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/armnn/test/TestUtils.hpp b/src/armnn/test/TestUtils.hpp index 9b1a3bf18d..9c5f672a5a 100644 --- a/src/armnn/test/TestUtils.hpp +++ b/src/armnn/test/TestUtils.hpp @@ -7,6 +7,7 @@ #include <armnn/INetwork.hpp> #include <Graph.hpp> +#include <Runtime.hpp> void Connect(armnn::IConnectableLayer* from, armnn::IConnectableLayer* to, const armnn::TensorInfo& tensorInfo, unsigned int fromIndex = 0, unsigned int toIndex = 0); @@ -47,3 +48,10 @@ bool CheckRelatedLayers(armnn::Graph& graph, const std::list<std::string>& testR return true; } + +namespace armnn +{ + +profiling::ProfilingService& GetProfilingService(armnn::Runtime* runtime); + +} // namespace armnn
\ No newline at end of file |