From: Matthias Maier Date: Tue, 16 Nov 2021 19:14:15 +0000 (-0600) Subject: TBB OneAPI: Update includes X-Git-Tag: v9.3.3~5^2~18 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3098faa229bdc89bc84e7a999ac0892dd0218025;p=dealii.git TBB OneAPI: Update includes --- 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