From 3098faa229bdc89bc84e7a999ac0892dd0218025 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 cdf9f3dd12..9810a6de06 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 86dece9bbb..01d8275914 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