aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/test/TensorHandleStrategyTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/test/TensorHandleStrategyTest.cpp')
-rw-r--r--src/armnn/test/TensorHandleStrategyTest.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/armnn/test/TensorHandleStrategyTest.cpp b/src/armnn/test/TensorHandleStrategyTest.cpp
index b84e7ab5f9..3e59c0b604 100644
--- a/src/armnn/test/TensorHandleStrategyTest.cpp
+++ b/src/armnn/test/TensorHandleStrategyTest.cpp
@@ -19,6 +19,8 @@
#include <vector>
#include <string>
+#include <boost/core/ignore_unused.hpp>
+
using namespace armnn;
class TestMemMgr : public IMemoryManager
@@ -42,17 +44,20 @@ public:
TensorShape const& subTensorShape,
unsigned int const* subTensorOrigin) const override
{
+ boost::ignore_unused(parent, subTensorShape, subTensorOrigin);
return nullptr;
}
std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo) const override
{
+ boost::ignore_unused(tensorInfo);
return nullptr;
}
std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo,
DataLayout dataLayout) const override
{
+ boost::ignore_unused(tensorInfo, dataLayout);
return nullptr;
}
@@ -80,17 +85,20 @@ public:
TensorShape const& subTensorShape,
unsigned int const* subTensorOrigin) const override
{
+ boost::ignore_unused(parent, subTensorShape, subTensorOrigin);
return nullptr;
}
std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo) const override
{
+ boost::ignore_unused(tensorInfo);
return nullptr;
}
std::unique_ptr<ITensorHandle> CreateTensorHandle(const TensorInfo& tensorInfo,
DataLayout dataLayout) const override
{
+ boost::ignore_unused(tensorInfo, dataLayout);
return nullptr;
}
@@ -115,6 +123,7 @@ public:
IWorkloadFactoryPtr CreateWorkloadFactory(const IMemoryManagerSharedPtr& memoryManager = nullptr) const override
{
+ boost::ignore_unused(memoryManager);
return IWorkloadFactoryPtr{};
}
@@ -155,6 +164,7 @@ public:
IWorkloadFactoryPtr CreateWorkloadFactory(const IMemoryManagerSharedPtr& memoryManager = nullptr) const override
{
+ boost::ignore_unused(memoryManager);
return IWorkloadFactoryPtr{};
}
@@ -192,6 +202,7 @@ public:
IWorkloadFactoryPtr CreateWorkloadFactory(const IMemoryManagerSharedPtr& memoryManager = nullptr) const override
{
+ boost::ignore_unused(memoryManager);
return IWorkloadFactoryPtr{};
}
@@ -228,6 +239,7 @@ public:
IWorkloadFactoryPtr CreateWorkloadFactory(const IMemoryManagerSharedPtr& memoryManager = nullptr) const override
{
+ boost::ignore_unused(memoryManager);
return IWorkloadFactoryPtr{};
}