Skip to content

Conversation

@davebayer
Copy link
Contributor

if consteval in C++20 mode seems to finally work with nvcc 13.1.

Requires #6887.

@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Dec 7, 2025

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 Todo to In Progress in CCCL Dec 7, 2025
@bernhardmgruber
Copy link
Contributor

if consteval in C++20 mode seems to finally work with nvcc 13.1.

I thought this is a C++23 feature. Was it DR-ed against C++20?

@davebayer
Copy link
Contributor Author

I thought this is a C++23 feature. Was it DR-ed against C++20?

It is and it was not DR-ed against C++20 as far as I know. But most compilers support it even in C++20 as an extension. NVCC accepts if consteval since 13.0, but emitted an error when used in device code. This seems to be fixed in 13.1.

@github-project-automation github-project-automation bot moved this from In Progress to In Review in CCCL Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

4 participants