aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-01-02 13:27:37 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:33 +0000
commit1250a5a259962514d31bb5f8148f1d0f0a82b946 (patch)
treea9c16daffa5228926715c805d73310b4b3c2e324 /arm_compute/graph
parent7c23ad01c028f73aef0b439fc5d5d14e92e5f4e2 (diff)
downloadComputeLibrary-1250a5a259962514d31bb5f8148f1d0f0a82b946.tar.gz
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 <pablo.tello@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph')
-rw-r--r--arm_compute/graph/SubGraph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arm_compute/graph/SubGraph.h b/arm_compute/graph/SubGraph.h
index d768bf9119..e3217e7095 100644
--- a/arm_compute/graph/SubGraph.h
+++ b/arm_compute/graph/SubGraph.h
@@ -56,13 +56,13 @@ public:
void add_tensor_object(std::unique_ptr<ITensorObject> tensor);
/** Constructs a graph from a subgraph
*
- * @param[in] hint Execution target hint
+ * @param[in] ctx Parent graph context
* @param[in] input Input to the graph
* @param[in] output Output to the graph
*
* @return A graph
*/
- std::unique_ptr<Graph> construct(TargetHint hint, std::unique_ptr<ITensorObject> input, std::unique_ptr<ITensorObject> output);
+ std::unique_ptr<Graph> construct(const GraphContext &ctx, std::unique_ptr<ITensorObject> input, std::unique_ptr<ITensorObject> output);
/** Checks if the subgraph has an input
*
* @return True if the sub-graph has an input else false