Skip to content

libcudacxx-test SKILL - #9100

Merged
bernhardmgruber merged 5 commits into
NVIDIA:mainfrom
fbusato:libcudacxx-test-skill
May 22, 2026
Merged

bernhardmgruber merged 5 commits into
NVIDIA:mainfrom
fbusato:libcudacxx-test-skill

Conversation

@fbusato

@fbusato fbusato commented May 21, 2026

Copy link
Copy Markdown
Contributor

Description

Add SKILL.md to describe the common practices that we use for writing libcu++ tests

@fbusato fbusato self-assigned this May 21, 2026
@fbusato fbusato added this to CCCL May 21, 2026
@fbusato fbusato added the libcu++ For all items related to libcu++ label May 21, 2026
@github-project-automation github-project-automation Bot moved this to Todo in CCCL May 21, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL May 21, 2026
@coderabbitai

coderabbitai Bot commented May 21, 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: 440c42da-9a3d-4806-95ac-8bb2d4accc5e

📥 Commits

Reviewing files that changed from the base of the PR and between 0020ece and 80cefb4.

📒 Files selected for processing (1)
  • .agent/skills/libcudacxx-test/SKILL.md
✅ Files skipped from review due to trivial changes (1)
  • .agent/skills/libcudacxx-test/SKILL.md

📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Added comprehensive guidance for authoring and validating libcudacxx tests: placement and naming conventions, test categories and expected behaviors, required test structure and style guidelines, portability guards for host/device, common directives and diagnostics annotation, instructions for targeted test runs, and accompanying skill metadata describing the guidance.

Walkthrough

suggestion: Added libcudacxx-test skill documentation defining test file organization, required structure with license and main dispatch, style conventions, CUDA namespacing, portability guards for host/device behavior, lit directive syntax including failure diagnostics, and targeted test validation commands. Companion skill metadata registry entry points to the main documentation.

Changes

libcudacxx Test Conventions

Layer / File(s) Summary
Skill metadata and top heading
.agent/skills/libcudacxx-test/SKILL.md, .claude/skills/libcudacxx-test/SKILL.md
Adds skill front-matter metadata and the top-level "libcudacxx Test" heading; registers the canonical documentation location in the skill index.
Test organization and supported kinds
.agent/skills/libcudacxx-test/SKILL.md
Defines test locations and enumerates supported test kinds with their expected outcomes: .pass.cpp, .compile.pass.cpp, .fail.cpp, and .runfail.cpp.
Required structure, style, and portability
.agent/skills/libcudacxx-test/SKILL.md
Specifies mandatory test structure (license banner, required headers, main, static assertions/runtime checks), style rules (CUDA namespacing, helper annotations), portability guidance using NV target guards and shared macros, and patterns for lit directives and fail-test diagnostics.
Validation and run instructions
.agent/skills/libcudacxx-test/SKILL.md
Documents lit/precompile run instructions, relative-path requirements, example usage of the configured lit site file, and NoopExecutor precompile-only validation directive.

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 900efb02-f307-48c6-bb99-f8455b4ea687

📥 Commits

Reviewing files that changed from the base of the PR and between bd72eba and 96bc477.

📒 Files selected for processing (2)
  • .agent/skills/libcudacxx-test/SKILL.md
  • .claude/skills/libcudacxx-test/SKILL.md

Comment thread .agent/skills/libcudacxx-test/SKILL.md Resolved
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@bernhardmgruber

Copy link
Copy Markdown
Contributor

/ok to test 80cefb4

@bernhardmgruber
bernhardmgruber enabled auto-merge (squash) May 22, 2026 07:36
@bernhardmgruber
bernhardmgruber merged commit 8954996 into NVIDIA:main May 22, 2026
17 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libcu++ For all items related to libcu++

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants