aboutsummaryrefslogtreecommitdiff
path: root/examples/graph_googlenet.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-03-21 20:10:53 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:49:16 +0000
commit287051663030ccd945accdcd90905fb48bf30948 (patch)
treee6dd34bb262c2e748ef93407d3df13bcebe007af /examples/graph_googlenet.cpp
parent99ef8407cd5b27fdec6f8dfaf8b55f820b6dea71 (diff)
downloadComputeLibrary-287051663030ccd945accdcd90905fb48bf30948.tar.gz
COMPMID-1007: Add initial validate support to backend
Change-Id: I55eae35f35a3c7891e8d535907c861f022e43bea Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/125470 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'examples/graph_googlenet.cpp')
-rw-r--r--examples/graph_googlenet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graph_googlenet.cpp b/examples/graph_googlenet.cpp
index d64512bb96..e97f3acdfd 100644
--- a/examples/graph_googlenet.cpp
+++ b/examples/graph_googlenet.cpp
@@ -54,7 +54,7 @@ public:
// Set target. 0 (NEON), 1 (OpenCL), 2 (OpenCL with Tuner). By default it is NEON
const int target = argc > 1 ? std::strtol(argv[1], nullptr, 10) : 0;
Target target_hint = set_target_hint2(target);
- ConvolutionMethod convolution_hint = ConvolutionMethod::GEMM;
+ ConvolutionMethod convolution_hint = (target_hint == Target::CL) ? ConvolutionMethod::WINOGRAD : ConvolutionMethod::GEMM;
bool enable_tuning = (target == 2);
bool enable_memory_management = true;