aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-05-13 15:35:50 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2019-05-14 16:01:08 +0100
commitc6f1391d50a99716c5de598e1714817139a7257a (patch)
treed4166a0acd9a5e9e511dc67904a2866c4943a47a
parentc520b7887487ff4179efb0f63c10ac95def9dbf2 (diff)
downloadComputeLibrary-c6f1391d50a99716c5de598e1714817139a7257a.tar.gz
COMPMID-1995: Change CLTuner default mode to NORMAL
Change-Id: I96a5fc460d5e403fcc4b64002ed4c71606c732f0 Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/1118 Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--src/runtime/CL/CLTuner.cpp2
-rw-r--r--tests/main.cpp2
-rw-r--r--utils/CommonGraphOptions.cpp2
-rw-r--r--utils/CommonGraphOptions.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/runtime/CL/CLTuner.cpp b/src/runtime/CL/CLTuner.cpp
index 929def24c..f2de78dce 100644
--- a/src/runtime/CL/CLTuner.cpp
+++ b/src/runtime/CL/CLTuner.cpp
@@ -38,7 +38,7 @@
namespace arm_compute
{
CLTuner::CLTuner(bool tune_new_kernels)
- : real_clEnqueueNDRangeKernel(nullptr), _lws_table(), _kernel_event(), _tune_new_kernels(tune_new_kernels), _tuner_mode(CLTunerMode::EXHAUSTIVE)
+ : real_clEnqueueNDRangeKernel(nullptr), _lws_table(), _kernel_event(), _tune_new_kernels(tune_new_kernels), _tuner_mode(CLTunerMode::NORMAL)
{
}
diff --git a/tests/main.cpp b/tests/main.cpp
index bb35d0af9..75045ad11 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -146,7 +146,7 @@ int main(int argc, char **argv)
CLTunerMode::NORMAL,
CLTunerMode::RAPID
};
- auto tuner_mode = parser.add_option<utils::EnumOption<CLTunerMode>>("tuner-mode", supported_tuner_modes, CLTunerMode::EXHAUSTIVE);
+ auto tuner_mode = parser.add_option<utils::EnumOption<CLTunerMode>>("tuner-mode", supported_tuner_modes, CLTunerMode::NORMAL);
tuner_mode->set_help("Configures the time taken by the tuner to tune. Slow tuner produces the most performant LWS configuration");
auto tuner_file = parser.add_option<utils::SimpleOption<std::string>>("tuner-file", "");
diff --git a/utils/CommonGraphOptions.cpp b/utils/CommonGraphOptions.cpp
index 7334d038b..e2ca98a7d 100644
--- a/utils/CommonGraphOptions.cpp
+++ b/utils/CommonGraphOptions.cpp
@@ -158,7 +158,7 @@ CommonGraphOptions::CommonGraphOptions(CommandLineParser &parser)
target = parser.add_option<EnumOption<Target>>("target", supported_targets, Target::NEON);
data_type = parser.add_option<EnumOption<DataType>>("type", supported_data_types, DataType::F32);
data_layout = parser.add_option<EnumOption<DataLayout>>("layout", supported_data_layouts);
- tuner_mode = parser.add_option<EnumOption<CLTunerMode>>("tuner-mode", supported_tuner_modes, CLTunerMode::EXHAUSTIVE);
+ tuner_mode = parser.add_option<EnumOption<CLTunerMode>>("tuner-mode", supported_tuner_modes, CLTunerMode::NORMAL);
help->set_help("Show this help message");
threads->set_help("Number of threads to use");
diff --git a/utils/CommonGraphOptions.h b/utils/CommonGraphOptions.h
index d81cd8fbd..826cca1be 100644
--- a/utils/CommonGraphOptions.h
+++ b/utils/CommonGraphOptions.h
@@ -94,7 +94,7 @@ struct CommonGraphParams
arm_compute::DataType data_type{ DataType::F32 };
arm_compute::DataLayout data_layout{ DataLayout::NHWC };
bool enable_tuner{ false };
- arm_compute::CLTunerMode tuner_mode{ CLTunerMode::EXHAUSTIVE };
+ arm_compute::CLTunerMode tuner_mode{ CLTunerMode::NORMAL };
arm_compute::graph::FastMathHint fast_math_hint{ arm_compute::graph::FastMathHint::Disabled };
std::string data_path{};
std::string image{};