diff options
author | gatecat <gatecat@ds0.me> | 2021-04-14 12:19:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 12:19:10 +0100 |
commit | b26088f940d512174154cef3954f3a9b6c9642e7 (patch) | |
tree | 26ecc8b150afaa9381910ebe3d22622e967f91e3 /fpga_interchange/lookahead.cc | |
parent | 2912860c9788033a7501726e77bb4962b394280d (diff) | |
parent | b0f57d234f877fe8b2a421e3e868c8a3e9cd89eb (diff) | |
download | nextpnr-b26088f940d512174154cef3954f3a9b6c9642e7.tar.gz nextpnr-b26088f940d512174154cef3954f3a9b6c9642e7.tar.bz2 nextpnr-b26088f940d512174154cef3954f3a9b6c9642e7.zip |
Merge pull request #679 from YosysHQ/gatecat/disable-absl
Hash table changes
Diffstat (limited to 'fpga_interchange/lookahead.cc')
-rw-r--r-- | fpga_interchange/lookahead.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fpga_interchange/lookahead.cc b/fpga_interchange/lookahead.cc index cd05c16f..6dc8c43a 100644 --- a/fpga_interchange/lookahead.cc +++ b/fpga_interchange/lookahead.cc @@ -250,7 +250,7 @@ static void expand_input_type(const Context *ctx, DeterministicRNG *rng, const S struct DelayStorage { - HashTables::HashMap<TypeWirePair, HashTables::HashMap<std::pair<int32_t, int32_t>, delay_t>> storage; + HashTables::HashMap<TypeWirePair, HashTables::HashMap<std::pair<int32_t, int32_t>, delay_t, PairHash>> storage; int32_t max_explore_depth; }; @@ -996,7 +996,8 @@ void Lookahead::build_lookahead(const Context *ctx, DeterministicRNG *rng) #if defined(NEXTPNR_USE_TBB) // Run parallely tbb::parallel_for_each( all_tiles_storage.storage, - [&](const std::pair<TypeWirePair, HashTables::HashMap<std::pair<int32_t, int32_t>, delay_t>> &type_pair) { + [&](const std::pair<TypeWirePair, HashTables::HashMap<std::pair<int32_t, int32_t>, delay_t, PairHash>> + &type_pair) { #else for (const auto &type_pair : all_tiles_storage.storage) { #endif |