aboutsummaryrefslogtreecommitdiff
path: root/examples/graph_alexnet.cpp
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2018-05-14 14:21:39 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:52:35 +0000
commita8aef2916379402e241d9f2c5e0faf3f99c860f7 (patch)
treeaccf1f74bb836766260dbdb90aad7b6048c675d2 /examples/graph_alexnet.cpp
parentcb0010b02281245c66d5c996fa9ef8b22f036a2d (diff)
downloadComputeLibrary-a8aef2916379402e241d9f2c5e0faf3f99c860f7.tar.gz
COMPMID-792 - Re-enabled Winograd on NEON in all graph examples.
Since now the input transform can be multi-threaded, I re-ebaled Winograd in all graph examples Change-Id: I39ef78243bb47fdae135e18dcae2102af0675b3b Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/131048 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'examples/graph_alexnet.cpp')
-rw-r--r--examples/graph_alexnet.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/graph_alexnet.cpp b/examples/graph_alexnet.cpp
index b97ca54c78..ffcd8b8411 100644
--- a/examples/graph_alexnet.cpp
+++ b/examples/graph_alexnet.cpp
@@ -56,10 +56,9 @@ public:
const int target = argc > 1 ? std::strtol(argv[1], nullptr, 10) : 0;
Target target_hint = set_target_hint(target);
- // TODO (geopin01) : Get GPU target somehow and set gemm also for midgard ?
const bool is_neon = (target_hint == Target::NEON);
ConvolutionMethod convolution_5x5_hint = is_neon ? ConvolutionMethod::GEMM : ConvolutionMethod::DIRECT;
- ConvolutionMethod convolution_3x3_hint = is_neon ? ConvolutionMethod::GEMM : ConvolutionMethod::DEFAULT;
+ ConvolutionMethod convolution_3x3_hint = ConvolutionMethod::DEFAULT;
FastMathHint fast_math_hint = FastMathHint::DISABLED;
// Parse arguments