]> https://gitweb.dealii.org/ - dealii.git/commitdiff
TBB OneAPI: Update includes
authorMatthias Maier <tamiko@43-1.org>
Tue, 16 Nov 2021 19:14:15 +0000 (13:14 -0600)
committerMatthias Maier <tamiko@43-1.org>
Thu, 9 Dec 2021 03:30:32 +0000 (21:30 -0600)
include/deal.II/base/work_stream.h
source/base/multithread_info.cc

index 13e23c3f8b512ac965b33b87286d067a7cb1fef5..aa4060d80da621bfa43519cae19401260c7a8281 100644 (file)
 #  include <deal.II/base/thread_management.h>
 
 #  ifdef DEAL_II_WITH_TBB
-#    include <tbb/pipeline.h>
+#    ifdef DEAL_II_TBB_WITH_ONEAPI
+#      include <tbb/parallel_pipeline.h>
+#    else
+#      include <tbb/pipeline.h>
+#    endif
 #  endif
 
 #  include <functional>
index 9947d40197ec984bc8adb8683dd0c7685ac1786a..aeed71a479a370c54c95eefe1db47c231c0d9de7 100644 (file)
 #include <thread>
 
 #ifdef DEAL_II_WITH_TBB
-#  include <tbb/task_scheduler_init.h>
+#  ifdef DEAL_II_TBB_WITH_ONEAPI
+#    include <tbb/task_arena.h>
+#  else
+#    include <tbb/task_scheduler_init.h>
+#  endif
 #endif
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.