| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f6ee03b commit 32534f7
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -723,6 +723,11 @@ inline void Executor::_sync_topology(Topology& tpg) { | |||
| 723 | 723 | ||
| 724 | 724 | auto &f = tpg._taskflow; | |
| 725 | 725 | ||
| 726 | + // TODO: check whether we can use tpg instead of t._topologies.front() | ||
| 727 | + // below and elsewhere. | ||
| 728 | + | ||
| 729 | + assert(&tpg == &(f._topologies.front())); | ||
| 730 | + | ||
| 726 | 731 | // case 1: we still need to run the topology again | |
| 727 | 732 | if(!std::invoke(f._topologies.front()._pred)) { | |
| 728 | 733 | f._topologies.front()._recover_num_sinks(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -443,8 +443,6 @@ TEST_CASE("ParallelForOnIndex" * doctest::timeout(300)) { | |||
| 443 | 443 | using namespace std::chrono_literals; | |
| 444 | 444 | ||
| 445 | 445 | auto exception_test = [] (unsigned num_workers) { | |
| 446 | - | ||
| 447 | - tf::Executor executor(num_workers); | ||
| 448 | 446 | tf::Taskflow tf; | |
| 449 | 447 | ||
| 450 | 448 | // invalid index | |
| Back | FazBrowse Home | New Git URL |
0 commit comments