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 <colm.donelan@arm.com> Change-Id: I6064e02db4ca056423bb448ddc0d712b50a704cb
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp index 9ea9ac8..0da6d80 100644 --- a/include/armnn/IRuntime.hpp +++ b/include/armnn/IRuntime.hpp
@@ -16,11 +16,19 @@ #include <armnn/backends/ICustomAllocator.hpp> #include <armnn/backends/IMemoryOptimizerStrategy.hpp> -#include <client/include/ILocalPacketHandler.hpp> - #include <memory> #include <map> +namespace arm +{ + +namespace pipe +{ +class ILocalPacketHandler; +using ILocalPacketHandlerSharedPtr = std::shared_ptr<ILocalPacketHandler>; +} // pipe +} // arm + namespace armnn {