From cddfc28cc65386541b92dfa4a16321a276dba99d Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Fri, 30 Sep 2022 14:37:06 +0100 Subject: IVGCVSW-7227 Forward declare ILocalPacketHandlerSharedPtr in IRuntime.hpp * IRuntime.hpp includes one file from the profiling interface and it's causing some build problems for some users. Replace the include with a forward declaration of arm::pipe::ILocalPacketHandlerSharedPtr. Signed-off-by: Colm Donelan Change-Id: I6064e02db4ca056423bb448ddc0d712b50a704cb --- include/armnn/IRuntime.hpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp index 9ea9ac83dc..0da6d80f93 100644 --- a/include/armnn/IRuntime.hpp +++ b/include/armnn/IRuntime.hpp @@ -16,11 +16,19 @@ #include #include -#include - #include #include +namespace arm +{ + +namespace pipe +{ +class ILocalPacketHandler; +using ILocalPacketHandlerSharedPtr = std::shared_ptr; +} // pipe +} // arm + namespace armnn { -- cgit v1.2.1