Skip to content

Commit 3f8b57b

Browse files
committed
try fixing load balancing
1 parent 54941ee commit 3f8b57b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/mip/presolve/load_balanced_bounds_presolve_helpers.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ i_t create_heavy_item_block_segments(rmm::cuda_stream_view stream,
126126
thrust::for_each(
127127
rmm::exec_policy(stream),
128128
thrust::make_counting_iterator<i_t>(0),
129-
thrust::make_counting_iterator<i_t>(item_block_segments.size()),
129+
thrust::make_counting_iterator<i_t>(item_block_segments.size() - 1),
130130
heavy_vertex_meta_t<i_t>{
131131
make_span(item_block_segments), make_span(vertex_id), make_span(pseudo_block_id)});
132132
thrust::inclusive_scan(rmm::exec_policy(stream),

0 commit comments

Comments
 (0)