aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-06-26 12:25:35 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:14:20 +0100
commit9ea47f6967ce1c9e4a8bf4174613efdec78a5f44 (patch)
tree68c4932329fc918ecd9aa6f3271e0d920d293772
parent2509fbaea001910e5d46fdf78b6be77f321202ad (diff)
downloadComputeLibrary-9ea47f6967ce1c9e4a8bf4174613efdec78a5f44.tar.gz
COMPMID-417: Always print seed
Change-Id: Iaa44e75c7f1b852ea6317bc199a94cbd6865e6f7 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78844 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
-rw-r--r--tests/benchmark/main.cpp1
-rw-r--r--tests/validation/main.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/benchmark/main.cpp b/tests/benchmark/main.cpp
index acde259d9b..0120aaad6c 100644
--- a/tests/benchmark/main.cpp
+++ b/tests/benchmark/main.cpp
@@ -90,6 +90,7 @@ int main(int argc, char **argv)
#endif
std::cout << "Using " << user_config.threads << " CPU " << (user_config.threads == 1 ? "thread" : "threads") << "\n";
+ std::cout << "Seed: " << library->seed();
arm_compute::Scheduler::get().set_num_threads(user_config.threads);
::benchmark::RunSpecifiedBenchmarks();
diff --git a/tests/validation/main.cpp b/tests/validation/main.cpp
index 844ee36200..22a56d2251 100644
--- a/tests/validation/main.cpp
+++ b/tests/validation/main.cpp
@@ -62,7 +62,7 @@ struct GlobalFixture
library = cpp14::make_unique<TensorLibrary>(user_config.path.get());
}
- BOOST_TEST_MESSAGE("Seed: " << library->seed());
+ std::cout << "Seed: " << library->seed();
}
};