Skip to content

[backport 3.2] Backport #7241 and #8027#8293

Open
davebayer wants to merge 2 commits intoNVIDIA:branch/3.2.xfrom
davebayer:backport_nvtarget_3_2
Open

[backport 3.2] Backport #7241 and #8027#8293
davebayer wants to merge 2 commits intoNVIDIA:branch/3.2.xfrom
davebayer:backport_nvtarget_3_2

Conversation

@davebayer
Copy link
Copy Markdown
Contributor

@davebayer davebayer commented Apr 5, 2026

I'd like to backport NV_HAS_FEATURE_SM_XYf fixes to 3.3 and 3.2, because something like NV_IF_TARGET(NV_HAS_FEATURE_SM_XYf, ...) doesn't do the right thing, when XY is not exactly the architecture we are currently compiling for. It is a bug that can have very surprising effects for the users.

This PR also backports #7241 on which #8027 depends on.

wmaxey and others added 2 commits April 5, 2026 20:10
)

* Add a test for <nv/target> to validate old dialect support.

* Check CMAKE_<LANG>_FEATURES for compatible standards

* spelling fixup

* Check host compiler compatibility for CUDA as well

* Rename target for nvtarget test

* [pre-commit.ci] auto code formatting

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit aea68d7)
@davebayer davebayer requested review from a team as code owners April 5, 2026 18:22
@github-project-automation github-project-automation bot moved this to Todo in CCCL Apr 5, 2026
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Apr 5, 2026
@github-actions

This comment has been minimized.

@jrhemstad
Copy link
Copy Markdown
Collaborator

When do do backports, can we make sure the PR description includes motivation for why the backport is needed?

@davebayer
Copy link
Copy Markdown
Contributor Author

When do do backports, can we make sure the PR description includes motivation for why the backport is needed?

Sure, I've updated the description

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

😬 CI Workflow Results

🟥 Finished in 1d 12h: Pass: 99%/264 | Total: 11d 13h | Max: 5h 30m | Hits: 42%/383112

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.

4 participants