Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.


Segmented reduce uses the same template type
OffsetIteratorTfor begin and end offsetsThis precludes use of thrust transform iterators to generate the offsets. The implementation suggests that the iterators are only dereferenced to get the begin and end iterators independently per-block and as long as the dereferenced value is the same type, it should be ok for the iterators to be a different type.
Check the attached src for and example use case.
cub_segment_repro.cu.zip