Skip to content

Conversation

@davebayer
Copy link
Contributor

This PR refactors the cccl diagnostics module, removing the old _CCCL_DIAG_SUPPRESS_MEOW("-Wwarning1") macros with _CCCL_DIAG_SUPPRESS(MEOW, "-Wwarning1", "-Wwarning2").

I've also unified host & nv diagnostics suppression, so it's enough to type _CCCL_DIAG_POP now. Look at the docs and <cuda/std/__cccl/diagnostic.h> to understand what's happening :)

@davebayer davebayer requested review from a team as code owners January 8, 2026 20:47
@davebayer davebayer requested a review from alliepiper January 8, 2026 20:47
@davebayer davebayer requested review from pciolkosz and shwina January 8, 2026 20:47
@github-project-automation github-project-automation bot moved this to Todo in CCCL Jan 8, 2026
@davebayer davebayer requested a review from elstehle January 8, 2026 20:47
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Jan 8, 2026
@davebayer davebayer force-pushed the fix_diag_in_device_fns branch from 740358c to 53dbdbc Compare January 8, 2026 21:18
@davebayer davebayer force-pushed the fix_diag_in_device_fns branch from 43b4c9c to 2d18d19 Compare January 8, 2026 22:39
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

😬 CI Workflow Results

🟥 Finished in 7h 19m: Pass: 38%/200 | Total: 18d 23h | Max: 6h 00m | Hits: 32%/133779

See results here.

// code ..
_CCCL_DIAG_POP

_CCCL_DIAG_PUSH_AND_SUPPRESS(NV, 171) // should be used only for suppressions for 1 compiler
Copy link
Contributor

Choose a reason for hiding this comment

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

I would add an explicit example of 2 different compiler warnings getting suppressed

@davebayer davebayer self-assigned this Jan 13, 2026
@alliepiper alliepiper removed their request for review January 14, 2026 00:17
@davebayer davebayer marked this pull request as draft January 16, 2026 17:10
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Jan 16, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@cccl-authenticator-app cccl-authenticator-app bot moved this from In Review to In Progress in CCCL Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants