From f7591d445f4f2808cf9bbc81060c94468a785e41 Mon Sep 17 00:00:00 2001 From: David Wells Date: Mon, 28 Feb 2022 17:33:08 -0500 Subject: [PATCH] Fix the TBB quick test. This should work with or without oneAPI. --- tests/quick_tests/tbb.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); -- 2.39.5