diff options
author | Rob Hughes <robert.hughes@arm.com> | 2022-02-09 11:24:25 +0000 |
---|---|---|
committer | Rob Hughes <robert.hughes@arm.com> | 2022-02-09 11:28:19 +0000 |
commit | d0b4aa97d5389adc6a4c87f5704503b8bb22441e (patch) | |
tree | 08229c0fbce3b3c859541e8ac329b9fe46fa51d0 /src | |
parent | 2b481f81b610b8d1438960e3d78dfb247152859b (diff) | |
download | armnn-d0b4aa97d5389adc6a4c87f5704503b8bb22441e.tar.gz |
Fix some build failures
* Add ARMNN_DLLEXPORT to static symbol that needs to be exported from armnn
* Add missing <numeric> header for std::iota
Change-Id: Ica0211ed0065e9723bcb8e9dff511acb4ea50288
Signed-off-by: Rob Hughes <robert.hughes@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/armnn/Layer.hpp | 3 | ||||
-rw-r--r-- | src/armnn/test/SubgraphViewTests.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/Layer.hpp b/src/armnn/Layer.hpp index 23561cb75e..114d69c652 100644 --- a/src/armnn/Layer.hpp +++ b/src/armnn/Layer.hpp @@ -13,6 +13,7 @@ #include <backendsCommon/WorkloadInfo.hpp> #include "InternalTypes.hpp" #include "SerializeLayerParameters.hpp" +#include "DllExport.hpp" #include <armnn/Types.hpp> #include <armnn/Tensor.hpp> @@ -434,7 +435,7 @@ private: /// returned by layers which have no parameters associated with them. /// has to be a member as it is returned as a const reference /// declared static so that there is only ever one of them in memory - static NullDescriptor m_NullDescriptor; + ARMNN_DLLEXPORT static NullDescriptor m_NullDescriptor; }; // A layer user-provided data can be bound to (e.g. inputs, outputs). diff --git a/src/armnn/test/SubgraphViewTests.cpp b/src/armnn/test/SubgraphViewTests.cpp index e8012b575c..212ae0ee01 100644 --- a/src/armnn/test/SubgraphViewTests.cpp +++ b/src/armnn/test/SubgraphViewTests.cpp @@ -18,6 +18,7 @@ #include <queue> #include <random> #include <chrono> +#include <numeric> using namespace armnn; |