From cfa494fa894a7cad9583ad5204b813e50dd3498e Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sat, 22 May 2021 10:39:12 -0500 Subject: [PATCH] remove dead taskflow code from includes --- include/deal.II/base/config.h.in | 1 - include/deal.II/base/multithread_info.h | 20 -------------------- 2 files changed, 21 deletions(-) diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index 3d4445f07d..e0bd528ebd 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -59,7 +59,6 @@ #cmakedefine DEAL_II_WITH_SLEPC #cmakedefine DEAL_II_WITH_SUNDIALS #cmakedefine DEAL_II_WITH_SYMENGINE -#cmakedefine DEAL_II_WITH_TASKFLOW #cmakedefine DEAL_II_WITH_TBB #cmakedefine DEAL_II_WITH_TRILINOS #cmakedefine DEAL_II_WITH_UMFPACK diff --git a/include/deal.II/base/multithread_info.h b/include/deal.II/base/multithread_info.h index 34a74d0892..1ed40c3555 100644 --- a/include/deal.II/base/multithread_info.h +++ b/include/deal.II/base/multithread_info.h @@ -121,31 +121,11 @@ public: initialize_multithreading(); -# ifdef DEAL_II_WITH_TASKFLOW - /** - * Return a reference to the global Executor from taskflow. - * - * The Executor is set to use n_threads() worker threads that you can - * control using set_thread_limit() and the DEAL_II_NUM_THREADS environment - * variable. - */ - static tf::Executor & - get_taskflow_executor(); -# endif - private: /** * Variable representing the maximum number of threads. */ static unsigned int n_max_threads; - -# ifdef DEAL_II_WITH_TASKFLOW - /** - * Store a taskflow Executor that is constructed with N workers (from - * set_thread_limit). - */ - static std::unique_ptr executor; -# endif }; -- 2.39.5