]> 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>
Wed, 12 Jan 2022 10:17:01 +0000 (04:17 -0600)
include/deal.II/base/work_stream.h
source/base/multithread_info.cc

index cdf9f3dd12eb82613cdd3e2c4c7a582b275bbe3d..9810a6de06cad2d1a77613ab7fd5d7765d325e62 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 86dece9bbb503699a0b17166d4f65f4c2490a573..01d82759143d3438bfb1d6725a49322c077573d0 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.