[THEME] Universal 64-bit index type support in Thrust/CUB algorithms #47
Labels
cub
For all items related to CUB
feature request
New feature or request.
thrust
For all items related to Thrust.
Summary
Users expect Thrust/CUB algorithms to work with input sequences larger than
INT_MAX
. However, for historical reasons, many Thrust/CUB algorithms are hard-coded to useint
as the index/offset type. As a result, those algorithms will fail (often silently) when provided inputs whose extent is larger thanstd::numeric_limits<int>::max()
.In order to provide a delightful and consistent user experience, every Thrust/CUB should be able to work with inputs larger than
INT_MAX
. However, we likely want different solutions in Thrust vs CUB.Intended Outcome
Thrust
CUB
Depends On
Tasks
Related Info
NVIDIA/cub#212 was the previous tracking issue in CUB that has a lot of good discussion about what we want a solution to look like in Thrust vs CUB.
The text was updated successfully, but these errors were encountered: