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

Commit

Permalink
Merge pull request #287 from nv-dlasalle/histogram_offset
Browse files Browse the repository at this point in the history
Fix cub::DeviceHistogram::MultiHistogramEven() 1-Dimensional overload, when OffsetT is not an `int`.
  • Loading branch information
alliepiper authored May 20, 2021
2 parents becf999 + 69513b7 commit e50fee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cub/device/device_histogram.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ struct DeviceHistogram
lower_level1,
upper_level1,
num_samples,
1,
static_cast<OffsetT>(1),
sizeof(SampleT) * num_samples,
stream,
debug_synchronous);
Expand Down Expand Up @@ -346,7 +346,7 @@ struct DeviceHistogram
lower_level,
upper_level,
num_pixels,
1,
static_cast<OffsetT>(1),
sizeof(SampleT) * NUM_CHANNELS * num_pixels,
stream,
debug_synchronous);
Expand Down

0 comments on commit e50fee7

Please sign in to comment.