Open jszuppe opened 6 years ago
We should update the docs and add a test, if needed.
It it helps, it seems the current test for WarpScan::Scan
with initial value does assert that the inclusive output should include the initial value (see https://github.com/NVIDIA/cccl/blob/main/cub/test/catch2_test_warp_scan.cu#L304). However, the documentation still states that initial value
is "Initial value to seed the exclusive scan" and does not address whether it is included in the inclusive scan.
Should
inclusive_output
after callingWarpScan::Scan(..)
function includeinit
? Right now it does, butWarpScan::Scan
's documentation is unclear about it.