Skip to content

Commit 9888bf9

Browse files
[CI] Added Serial Execution Engine Test
Since the CI always installs oneTBB and the execution engine is set to auto, I found that the CI always tested with the tbb execution engine. Some users may not have oneTBB installed for one reason or another and we need to ensure that VTR always builds. Added a CI test which sets the parallel execution engine to serial for Tatum and VPR.
1 parent 1232d6f commit 9888bf9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,12 @@ jobs:
199199
suite: 'vtr_reg_basic',
200200
extra_pkgs: ""
201201
},
202+
{
203+
name: 'Basic with serial execution engine (no TBB)',
204+
params: '-DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_IPO_BUILD=off -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVPR_EXECUTION_ENGINE=serial -DTATUM_EXECUTION_ENGINE=serial',
205+
suite: 'vtr_reg_basic',
206+
extra_pkgs: ""
207+
},
202208
{
203209
name: 'Basic with VTR_ENABLE_DEBUG_LOGGING',
204210
params: '-DCMAKE_COMPILE_WARNING_AS_ERROR=on -DVTR_IPO_BUILD=off -DVTR_ASSERT_LEVEL=3 -DWITH_BLIFEXPLORER=on -DVTR_ENABLE_DEBUG_LOGGING=on',

vpr/src/route/route_utils.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
#include "route_tree.h"
2020
#include "rr_graph.h"
2121
#include "tatum/TimingReporter.hpp"
22-
23-
#ifdef VPR_USE_TBB
2422
#include "stats.h"
25-
#endif // VPR_USE_TBB
2623

2724
bool check_net_delays(const Netlist<>& net_list, NetPinsMatrix<float>& net_delay) {
2825
constexpr float ERROR_TOL = 0.0001;

0 commit comments

Comments
 (0)