From 6e3dff3ab8ebb22b47b100a9c1f2a67561a00af9 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 16 Nov 2021 13:14:15 -0600 Subject: [PATCH] TBB OneAPI: Update includes --- include/deal.II/base/work_stream.h | 6 +++++- source/base/multithread_info.cc | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/work_stream.h b/include/deal.II/base/work_stream.h index 13e23c3f8b..aa4060d80d 100644 --- a/include/deal.II/base/work_stream.h +++ b/include/deal.II/base/work_stream.h @@ -28,7 +28,11 @@ # include # ifdef DEAL_II_WITH_TBB -# include +# ifdef DEAL_II_TBB_WITH_ONEAPI +# include +# else +# include +# endif # endif # include diff --git a/source/base/multithread_info.cc b/source/base/multithread_info.cc index 9947d40197..aeed71a479 100644 --- a/source/base/multithread_info.cc +++ b/source/base/multithread_info.cc @@ -21,7 +21,11 @@ #include #ifdef DEAL_II_WITH_TBB -# include +# ifdef DEAL_II_TBB_WITH_ONEAPI +# include +# else +# include +# endif #endif -- 2.39.5