#include <armnn/Optional.hpp>
#include <string>
+#include <boost/core/ignore_unused.hpp>
+
namespace
{
void PassStringRef(armnn::Optional<std::string&> value)
{
+ boost::ignore_unused(value);
}
void PassStringRefWithDefault(armnn::Optional<std::string&> value = armnn::EmptyOptional())
{
+ boost::ignore_unused(value);
}
} // namespace <anonymous>
#include <vector>
#include <string>
+#include <boost/core/ignore_unused.hpp>
+
using namespace armnn;
class TestMemMgr : public IMemoryManager
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;
}
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;
}
IWorkloadFactoryPtr CreateWorkloadFactory(const IMemoryManagerSharedPtr& memoryManager = nullptr) const override
{
+ boost::ignore_unused(memoryManager);
return IWorkloadFactoryPtr{};
}
IWorkloadFactoryPtr CreateWorkloadFactory(const IMemoryManagerSharedPtr& memoryManager = nullptr) const override
{
+ boost::ignore_unused(memoryManager);
return IWorkloadFactoryPtr{};
}
IWorkloadFactoryPtr CreateWorkloadFactory(const IMemoryManagerSharedPtr& memoryManager = nullptr) const override
{
+ boost::ignore_unused(memoryManager);
return IWorkloadFactoryPtr{};
}
IWorkloadFactoryPtr CreateWorkloadFactory(const IMemoryManagerSharedPtr& memoryManager = nullptr) const override
{
+ boost::ignore_unused(memoryManager);
return IWorkloadFactoryPtr{};
}