Remove Logging.hpp from ArmNN.hpp
authorMatthew Bentham <Matthew.Bentham@arm.com>
Wed, 15 Jan 2020 17:55:08 +0000 (17:55 +0000)
committerMatthew Bentham <Matthew.Bentham@arm.com>
Thu, 16 Jan 2020 09:19:56 +0000 (09:19 +0000)
Logging.hpp is mainly useful for raising Arm NN log messages. There's
very little point in automatically including it for users of the library
via the ArmNN.hpp convenience header.

Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
Change-Id: I71fb3188dc0b30c1bbc86a31996470c707d38c19

include/armnn/ArmNN.hpp
src/armnn/Graph.cpp
src/armnn/LoadedNetwork.cpp
src/armnn/Network.cpp
src/armnn/Runtime.cpp
src/armnnConverter/ArmnnConverter.cpp
src/backends/backendsCommon/DynamicBackendUtils.cpp
src/backends/reference/workloads/RefNormalizationWorkload.cpp

index 119520b..b18f14c 100644 (file)
@@ -9,7 +9,6 @@
 #include "Exceptions.hpp"
 #include "INetwork.hpp"
 #include "IRuntime.hpp"
-#include "Logging.hpp"
 #include "LstmParams.hpp"
 #include "Optional.hpp"
 #include "QuantizedLstmParams.hpp"
index 0ba627c..8e7f75b 100644 (file)
@@ -10,8 +10,9 @@
 #include <armnn/backends/IBackendInternal.hpp>
 
 #include <armnn/BackendId.hpp>
-#include <armnn/Utils.hpp>
+#include <armnn/Logging.hpp>
 #include <armnn/TypesUtils.hpp>
+#include <armnn/Utils.hpp>
 
 #include <boost/polymorphic_cast.hpp>
 #include <boost/assert.hpp>
index b830e67..2e95dd8 100644 (file)
@@ -12,6 +12,7 @@
 #include "HeapProfiling.hpp"
 
 #include <armnn/BackendRegistry.hpp>
+#include <armnn/Logging.hpp>
 
 #include <backendsCommon/CpuTensorHandle.hpp>
 #include <armnn/backends/IMemoryManager.hpp>
index 554e2e2..43c79c8 100644 (file)
@@ -21,6 +21,7 @@
 #include <armnn/Utils.hpp>
 #include <armnn/TypesUtils.hpp>
 #include <armnn/BackendRegistry.hpp>
+#include <armnn/Logging.hpp>
 
 #include <ProfilingService.hpp>
 
index 1e3e232..2d7269a 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <armnn/Version.hpp>
 #include <armnn/BackendRegistry.hpp>
+#include <armnn/Logging.hpp>
 
 #include <armnn/backends/IBackendContext.hpp>
 #include <backendsCommon/DynamicBackendUtils.hpp>
index 28e94a0..de1311d 100644 (file)
@@ -3,6 +3,7 @@
 // SPDX-License-Identifier: MIT
 //
 #include <armnn/ArmNN.hpp>
+#include <armnn/Logging.hpp>
 
 #if defined(ARMNN_CAFFE_PARSER)
 #include <armnnCaffeParser/ICaffeParser.hpp>
index f893458..ea08692 100644 (file)
@@ -3,6 +3,7 @@
 // SPDX-License-Identifier: MIT
 //
 
+#include <armnn/Logging.hpp>
 #include <backendsCommon/DynamicBackendUtils.hpp>
 
 #include <boost/filesystem.hpp>
index adf452d..77497c4 100644 (file)
@@ -4,18 +4,19 @@
 //
 
 #include "RefNormalizationWorkload.hpp"
-#include "RefWorkloadUtils.hpp"
-#include "Decoders.hpp"
-#include "Encoders.hpp"
 
+#include <armnn/Logging.hpp>
 #include <armnn/Tensor.hpp>
-
 #include <armnnUtils/DataLayoutIndexed.hpp>
 
 #include <Profiling.hpp>
 
 #include <boost/numeric/conversion/cast.hpp>
 
+#include "RefWorkloadUtils.hpp"
+#include "Decoders.hpp"
+#include "Encoders.hpp"
+
 using namespace armnn;
 using namespace armnnUtils;