Skip to content

Implement parallel cuda::std::unique_copy#7987

Open
miscco wants to merge 5 commits intoNVIDIA:mainfrom
miscco:parallel_unique_copy
Open

Implement parallel cuda::std::unique_copy#7987
miscco wants to merge 5 commits intoNVIDIA:mainfrom
miscco:parallel_unique_copy

Conversation

@miscco
Copy link
Contributor

@miscco miscco commented Mar 11, 2026

This implements the unique_copy algorithm for the cuda backend.

It provides tests and benchmarks similar to Thrust and some boilerplate for libcu++

The functionality is publicly available yet and implemented in a private internal header

Fixes #7927

@miscco miscco requested review from a team as code owners March 11, 2026 12:40
@miscco miscco requested a review from shwina March 11, 2026 12:40
@miscco miscco requested a review from pciolkosz March 11, 2026 12:40
@github-project-automation github-project-automation bot moved this to Todo in CCCL Mar 11, 2026
@miscco miscco requested a review from gevtushenko March 11, 2026 12:40
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Mar 11, 2026
miscco added 4 commits March 11, 2026 14:12
We want to use the public methods in the PSTL backend, so add an overload that takes a predicate.
This implements the unique_copy algorithm for the cuda backend.

* `std::unique_copy` see https://en.cppreference.com/w/cpp/algorithm/unique_copy.html

It provides tests and benchmarks similar to Thrust and some boilerplate for libcu++

The functionality is publicly available yet and implemented in a private internal header

Fixes NVIDIA#7927
@miscco miscco force-pushed the parallel_unique_copy branch from 6c5e0a0 to b84dc83 Compare March 11, 2026 16:17
@github-actions

This comment has been minimized.

@bernhardmgruber
Copy link
Contributor

/ok to test c3219c7

@github-actions
Copy link
Contributor

😬 CI Workflow Results

🟥 Finished in 2h 06m: Pass: 96%/99 | Total: 2d 01h | Max: 1h 48m | Hits: 92%/242628

See results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

[FEA]: Implement CUDA backend for parallel cuda::std::iota

2 participants