From 1250a5a259962514d31bb5f8148f1d0f0a82b946 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 2 Jan 2018 13:27:37 +0000 Subject: COMPMID-767 : Propagate hints to subgraph. -Propagates hints to subgraph. -Fixes dispatching of apropriate optimized DepthwiseConvolution kernel for OpenCL backend. NEON backend is altered to default to the generic case until COMPMID-769 is addressed. Change-Id: I544f05cd99a9ac253f1b19aa4e4bb222b8fdd087 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/114781 Reviewed-by: Pablo Tello Reviewed-by: Anthony Barbier Tested-by: Jenkins --- src/graph/SubGraph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/graph/SubGraph.cpp') diff --git a/src/graph/SubGraph.cpp b/src/graph/SubGraph.cpp index 977cd4a4ae..f62b2617c5 100644 --- a/src/graph/SubGraph.cpp +++ b/src/graph/SubGraph.cpp @@ -52,13 +52,13 @@ void SubGraph::add_tensor_object(std::unique_ptr tensor) } } -std::unique_ptr SubGraph::construct(TargetHint hint, std::unique_ptr input, std::unique_ptr output) +std::unique_ptr SubGraph::construct(const GraphContext &ctx, std::unique_ptr input, std::unique_ptr output) { auto graph = arm_compute::support::cpp14::make_unique(); // Set hint // TODO(geopin01): store hints of sub-graph - graph->hints().set_target_hint(hint); + graph->hints() = ctx.hints(); // Configure input if(_input == nullptr) -- cgit v1.2.1