Skip to content

Add copy_if NVHPC stdpar smoke test - #10907

Merged
davebayer merged 1 commit into
NVIDIA:mainfrom
adv-andrew:agent/add-copy-if-stdpar-smoke-test
Aug 20, 2026
Merged

davebayer merged 1 commit into
NVIDIA:mainfrom
adv-andrew:agent/add-copy-if-stdpar-smoke-test

Conversation

@adv-andrew

Copy link
Copy Markdown
Contributor

Description

Part of #6486.

Adds an NVHPC stdpar smoke test for the std::copy_if execution-policy overload. The test filters a nonuniform input, verifies the returned iterator and stable copied values, and covers an empty range. The existing stdpar test glob discovers the new source automatically.

Testing

  • pre-commit run --files test/stdpar/tests/copy_if.cpp
  • Not run locally: ./ci/build_stdpar.sh -std 20 because NVHPC is unavailable on the current macOS host

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@copy-pr-bot

copy-pr-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-project-automation github-project-automation Bot moved this to Todo in CCCL Aug 19, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL Aug 19, 2026
@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 3d2fa613-7e5b-4db1-aa7b-287475d74148

📥 Commits

Reviewing files that changed from the base of the PR and between 894b603 and e83edaf.

📒 Files selected for processing (1)
  • test/stdpar/tests/copy_if.cpp

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


📝 Walkthrough

Summary by CodeRabbit

  • Tests
    • Added coverage for parallel std::copy_if behavior.
    • Verifies filtering of odd values, output size and contents, version macros, and empty-range handling.

Walkthrough

Changes

std::copy_if test

Layer / File(s) Summary
Parallel filtering validation
test/stdpar/tests/copy_if.cpp
The test uses std::execution::par with std::copy_if, checks odd-value output and count, validates empty-range behavior, and returns failure on mismatches.

Merge Risk: ⚪ Minimal · up to e83ed

This change adds a localized NVHPC stdpar smoke test without altering production behavior, and no actionable merge-blocking risk remains after normal checks and review.


Comment @coderabbitai help to get the list of available commands.

@adv-andrew adv-andrew mentioned this pull request Aug 19, 2026
13 of 57 tasks
@davebayer

Copy link
Copy Markdown
Contributor

/ok to test e83edaf

@davebayer
davebayer enabled auto-merge (squash) August 20, 2026 05:29
@github-actions

Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 49m 54s: Pass: 100%/2 | Total: 54m 13s | Max: 49m 53s | Hits: 0%/0

See results here.

@davebayer
davebayer merged commit c75b3e8 into NVIDIA:main Aug 20, 2026
29 checks passed
@github-project-automation github-project-automation Bot moved this from In Review to Done in CCCL Aug 20, 2026
charan-003 pushed a commit to charan-003/cccl that referenced this pull request Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants