From c13021e335b3e395c9d1a3a9935baedb42aebf08 Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Wed, 9 May 2018 14:11:34 +0100 Subject: COMPMID-1109 - Enabling Winograd in the graph when possible Change-Id: I524abd28188995ae9c7a43b189b1eb2d7546be93 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/130576 Tested-by: Jenkins Reviewed-by: Georgios Pinitas --- examples/graph_inception_v4.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'examples/graph_inception_v4.cpp') diff --git a/examples/graph_inception_v4.cpp b/examples/graph_inception_v4.cpp index d505133833..8f340354cd 100644 --- a/examples/graph_inception_v4.cpp +++ b/examples/graph_inception_v4.cpp @@ -54,10 +54,9 @@ public: std::unique_ptr preprocessor = arm_compute::support::cpp14::make_unique(); // Set target. 0 (NEON), 1 (OpenCL). By default it is NEON - const int target = argc > 1 ? std::strtol(argv[1], nullptr, 10) : 0; - Target target_hint = set_target_hint(target); - - ConvolutionMethod convolution_hint = (target_hint == Target::CL) ? ConvolutionMethod::WINOGRAD : ConvolutionMethod::GEMM; + const int target = argc > 1 ? std::strtol(argv[1], nullptr, 10) : 0; + Target target_hint = set_target_hint(target); + ConvolutionMethod convolution_hint = target_hint == Target::NEON ? ConvolutionMethod::GEMM : ConvolutionMethod::DEFAULT; // Parse arguments if(argc < 2) -- cgit v1.2.1