aboutsummaryrefslogtreecommitdiff
path: root/tests/benchmark_examples
diff options
context:
space:
mode:
authorAnthony Barbier <anthony.barbier@arm.com>2018-07-13 09:26:51 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit9452233e0322c4d2801dfedb5194acf7ff6d6af2 (patch)
treedb9b59eb39d51cccead3fe0fa6a751a375b4312f /tests/benchmark_examples
parent2ec14f5a52d28eded07ddd015a188f8e691227d7 (diff)
downloadComputeLibrary-9452233e0322c4d2801dfedb5194acf7ff6d6af2.tar.gz
COMPMID-1398: Removed --threads from CommonOptions
Otherwise --threads appear twice for benchmark_graph_* tests Change-Id: I4f5454f6a2fda2558386290583a0ab84cd4666bb Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/139827 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'tests/benchmark_examples')
-rw-r--r--tests/benchmark_examples/RunExample.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/benchmark_examples/RunExample.cpp b/tests/benchmark_examples/RunExample.cpp
index 81c879ff2d..de3e796d59 100644
--- a/tests/benchmark_examples/RunExample.cpp
+++ b/tests/benchmark_examples/RunExample.cpp
@@ -106,9 +106,6 @@ int run_example(int argc, char **argv, std::unique_ptr<Example> example)
g_example_argv.emplace_back(const_cast<char *>(arg.c_str())); // NOLINT
}
- // Set number of threads in Scheduler
- Scheduler::get().set_num_threads(options.threads->value());
-
if(options.log_level->value() > framework::LogLevel::NONE)
{
for(auto &p : printers)
@@ -137,7 +134,6 @@ int run_example(int argc, char **argv, std::unique_ptr<Example> example)
}
#endif /* ARM_COMPUTE_CL */
p->print_entry("Iterations", support::cpp11::to_string(options.iterations->value()));
- p->print_entry("Threads", support::cpp11::to_string(options.threads->value()));
}
}