cccl
cccl copied to clipboard
[FEA]: Deprecate `GridBarrier` and `GridBarrierLifetime`
Is this a duplicate?
- [X] I confirmed there appear to be no duplicate issues for this request and that I agree to the Code of Conduct
Area
CUB
Is your feature request related to a problem? Please describe.
CUB currently exposes grid barrier, which is unfortunately used in the wild. Grid barrier doesn't have clear grid launch requirements https://github.com/NVIDIA/cccl/issues/877 and is not well tested. Users who are interested in GridBarrier should be using cooperative launch from cooperative groups. In this case, it'd be better to use cooperative groups on the device-side as well.
Describe the solution you'd like
We should deprecate GridBarrier and GridBarrierLifetime and close https://github.com/NVIDIA/cccl/issues/877.
Describe alternatives you've considered
No response
Additional context
No response