From: David Wells Date: Mon, 28 Feb 2022 22:33:08 +0000 (-0500) Subject: Fix the TBB quick test. X-Git-Tag: v9.4.0-rc1~429^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7591d445f4f2808cf9bbc81060c94468a785e41;p=dealii.git Fix the TBB quick test. This should work with or without oneAPI. --- diff --git a/tests/quick_tests/tbb.cc b/tests/quick_tests/tbb.cc index 52e3d32c67..cad7da6bb6 100644 --- a/tests/quick_tests/tbb.cc +++ b/tests/quick_tests/tbb.cc @@ -18,8 +18,6 @@ #include #include -#include - #include using namespace dealii; @@ -87,8 +85,7 @@ test2() int main() { - std::cout << "TBB will use " - << tbb::task_scheduler_init::default_num_threads() << " threads." + std::cout << "TBB will use " << MultithreadInfo::n_threads() << " threads." << std::endl; test1();