NVIDIA / NVIDIA/cccl

[DOC]: `thrust::partition_copy` docs are wrong

Open
#2,792 0 comments 0 reactions 1 assignee Claimed by @gonidelis View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

### Is this a duplicate?

- [x] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cccl/issues) for this bug and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)

### Is this for new documentation, or an update to existing docs?

New

### Describe the incorrect/future/missing documentation

In the fashion of #2747, two of our `thrust::partition_copy` overloads ref pages are wrongly showcasing the usage of `thrust::stable_partition_copy` instead. Given that this is starting to become a pattern along our thrust ref pages, the [discussion about moving to literalincludes](https://github.com/NVIDIA/cccl/issues/2747#issuecomment-2467741619) in thrust makes all the more sense.

https://nvidia.github.io/cccl/thrust/api/function_group__partitioning_1ga25663b8a98cd8c50376e48bc3d3b9a42.html
https://nvidia.github.io/cccl/thrust/api/function_group__partitioning_1gaa082297920f8ff77bb5d670b1a86946d.html

### If this is a correction, please provide a link to the incorrect documentation. If this is a new documentation request, please link to where you have looked.

https://github.com/NVIDIA/cccl/blob/100ccde873fb04e0610c7696496e589c5736a60b/thrust/thrust/partition.h#L488
https://github.com/NVIDIA/cccl/blob/100ccde873fb04e0610c7696496e589c5736a60b/thrust/thrust/partition.h#L563

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.