[CUB] DeviceReduce::Min/Max reject gpu_to_gpu determinism, but Reduce with cuda::minimum accepts it
Open
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 486
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 295
Description
`cub::DeviceReduce::Min` (and related) fails to compile with `gpu_to_gpu` determinism requirement with a static_assert: "gpu_to_gpu determinism is not supported". However, calling `cub::DeviceReduce::Reduce` with `cuda::minimum<>{}` with gpu_to_gpu requirement compiles and runs fine.
Both should compile fine, as gpu_to_gpu is partially supported i.e. well-known cuda operator and integral types.
Contributor guide
Assessment
This issue has not been assessed yet.