Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Fix device-side reduce launch with large inputs #597

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cub/device/dispatch/dispatch_reduce.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ struct DispatchReduce : SelectedPolicy
.doit(single_tile_kernel,
d_block_reductions,
d_out,
reduce_grid_size,
reduce_grid_size, // triple_chevron is not type safe, make sure to use int
reduction_op,
init);

Expand Down Expand Up @@ -841,7 +841,7 @@ struct DispatchReduce : SelectedPolicy
DeviceReduceSingleTileKernel<MaxPolicyT,
AccumT *,
OutputIteratorT,
OffsetT,
int, // Always used with int offsets
ReductionOpT,
InitT,
AccumT>);
Expand Down