aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/PreCompiledLayer.cpp
diff options
context:
space:
mode:
authorDerek Lamberti <derek.lamberti@arm.com>2019-12-10 21:12:59 +0000
committerFrancis Murtagh <francis.murtagh@arm.com>2019-12-31 10:02:58 +0000
commit94a88d2b21d9ca3f42dc3435695be31b5591230b (patch)
treeedf9381fa095561706353773c155a2c922a50dc8 /src/armnn/layers/PreCompiledLayer.cpp
parentff3c426ffd799abd66e4280da559384d86702721 (diff)
downloadarmnn-94a88d2b21d9ca3f42dc3435695be31b5591230b.tar.gz
IVGCVSW-4246 Clean build Layers with -Wextra
Change-Id: I649cd2304fb0040164763d31a12fc77c6c3bed87 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'src/armnn/layers/PreCompiledLayer.cpp')
-rw-r--r--src/armnn/layers/PreCompiledLayer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/armnn/layers/PreCompiledLayer.cpp b/src/armnn/layers/PreCompiledLayer.cpp
index bd93743eab..00a316c5c0 100644
--- a/src/armnn/layers/PreCompiledLayer.cpp
+++ b/src/armnn/layers/PreCompiledLayer.cpp
@@ -28,12 +28,11 @@ PreCompiledLayer* PreCompiledLayer::Clone(Graph& graph) const
return clone;
}
-std::unique_ptr<IWorkload> PreCompiledLayer::CreateWorkload(const armnn::Graph& graph,
- const armnn::IWorkloadFactory& factory) const
+std::unique_ptr<IWorkload> PreCompiledLayer::CreateWorkload(const armnn::IWorkloadFactory& factory) const
{
PreCompiledQueueDescriptor descriptor;
descriptor.m_PreCompiledObject = m_PreCompiledObject.get();
- return factory.CreatePreCompiled(descriptor, PrepInfoAndDesc(descriptor, graph));
+ return factory.CreatePreCompiled(descriptor, PrepInfoAndDesc(descriptor));
}
void PreCompiledLayer::ValidateTensorShapesFromInputs()
@@ -49,6 +48,7 @@ void PreCompiledLayer::SetPreCompiledObject(PreCompiledObjectPtr preCompiledObje
void PreCompiledLayer::Accept(ILayerVisitor& visitor) const
{
+ boost::ignore_unused(visitor);
throw armnn::Exception("PreCompiledLayer should not appear in an input graph");
}