aboutsummaryrefslogtreecommitdiff
path: root/tests/validate_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/validate_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/validate_examples')
-rw-r--r--tests/validate_examples/RunExample.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/validate_examples/RunExample.cpp b/tests/validate_examples/RunExample.cpp
index d842c5bd6f..9ce41c2768 100644
--- a/tests/validate_examples/RunExample.cpp
+++ b/tests/validate_examples/RunExample.cpp
@@ -124,8 +124,6 @@ int run_example(int argc, char **argv, std::unique_ptr<ValidateExample> 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());
library = support::cpp14::make_unique<AssetsLibrary>("." /* Only using random values */, seed->value());
if(options.log_level->value() > framework::LogLevel::NONE)
@@ -157,7 +155,6 @@ int run_example(int argc, char **argv, std::unique_ptr<ValidateExample> 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()));
g_example->print_parameters(*p);
}
}