mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 08:34:39 +08:00
examples/llil4map.cc: remove explicit limit to 32 threads for sort.
This commit is contained in:
@@ -479,7 +479,7 @@ int main(int argc, char* argv[])
|
||||
std::sort(propvec.begin(), propvec.end(), reverse_order);
|
||||
#else
|
||||
// Parallel sort
|
||||
boost::sort::block_indirect_sort(propvec.begin(), propvec.end(), reverse_order, std::min(nthds, 32));
|
||||
boost::sort::block_indirect_sort(propvec.begin(), propvec.end(), reverse_order, nthds);
|
||||
#endif
|
||||
|
||||
cend3s = high_resolution_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user