From 5e78656c6d8518c959357469d292559d587944be Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Mon, 10 Sep 2018 23:59:06 +0200 Subject: [PATCH] Force 4 threads for unit tests Seems necessary to impose more than 2 threads to activate join() on these simple examples --- tests/test_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_main.cpp b/tests/test_main.cpp index ada032c04..98ed156f2 100644 --- a/tests/test_main.cpp +++ b/tests/test_main.cpp @@ -5,7 +5,7 @@ int main( int argc, char* argv[] ) { - Kokkos::initialize({-1,-1,-1,true}); + Kokkos::initialize({4,-1,-1,true}); int result = Catch::Session().run( argc, argv ); -- GitLab