We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d27c296 commit bc4f25bCopy full SHA for bc4f25b
1 file changed
kaminpar-shm/datastructures/partitioned_graph.cc
@@ -95,7 +95,7 @@ void GenericPartitionedGraph<Graph>::sync_dense_and_aligned_block_weights() cons
95
if (_k == 2) {
96
_dense_block_weights[0] = _aligned_block_weights[0].value;
97
_dense_block_weights[1] = _aligned_block_weights[1].value;
98
- } else {
+ } else if (use_aligned_block_weights()) {
99
tbb::parallel_for<BlockID>(0, _k, [&](const BlockID b) {
100
_dense_block_weights[b] = _aligned_block_weights[b].value;
101
});
0 commit comments