]> https://gitweb.dealii.org/ - dealii.git/commit
disable threading in task_info.cc for oneAPI
authorMatthias Maier <tamiko@43-1.org>
Thu, 6 Jan 2022 14:35:14 +0000 (08:35 -0600)
committerMatthias Maier <tamiko@43-1.org>
Tue, 11 Jan 2022 18:03:39 +0000 (12:03 -0600)
commit66f35acc2b7da55a556f35ea42cd7f8f785ca703
treeaeadaa59bf7f5a9bb76c810125bcc0ec86c51a10
parent0b4f3f896d0b6ef29f87183c0187288a66334dd9
disable threading in task_info.cc for oneAPI

TBB with oneAPI API has deprecated and removed the
<code>tbb::tasks</code> backend. With this it is no longer possible to
compile the following code that builds a directed acyclic graph (DAG) of
(thread parallel) tasks without a major porting effort. It turned out
that such a dynamic handling of dependencies and structures is not as
competitive as initially assumed. Consequently, this part of the matrix
free infrastructure has seen less attention than the rest over the last
years and is (presumably) rarely used.

So in case of detected oneAPI backend we simply disable threading in the
matrix free backend for now.
doc/news/changes/minor/20220106BangerthMaier
include/deal.II/matrix_free/matrix_free.templates.h
source/matrix_free/task_info.cc

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.