You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Write a DeviceScan test case that fails when an invalid value is passed to the custom reduction operator #5018
We need a test case that fails when invalid values are passed to the reduction operator in DeviceScan. Specifically, we want to write a test that makes sure that, for both parameters passed to the reduction operator, every value ever passed to the reduction operator is a contiguous subarray reduction of the input array.
#5085 introduced a new test, but as described in #5019 the decoupled lookback implementation differs slightly for primitive vs non-primitive element types meaning that not all code paths are covered yet by the test (only non-primitive).
Activity
cub::DeviceScaninvokes the reduction operator only with valid data #5017pauleonix commentedon Jul 3, 2025
#5085 introduced a new test, but as described in #5019 the decoupled lookback implementation differs slightly for primitive vs non-primitive element types meaning that not all code paths are covered yet by the test (only non-primitive).