Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Use -Wno-deprecated-gpu-targets so that NVCC doesn't complain about deprecated SM archs when compiling every translation unit #1316

Closed
brycelelbach opened this issue Oct 14, 2020 · 1 comment · Fixed by #1319
Assignees
Labels
only: cmake CMake changes only. Doesn't need internal NVIDIA CI. P1: should have Necessary, but not critical.
Milestone

Comments

@brycelelbach
Copy link
Collaborator

@allisonvacanti I'm not sure how best to do this, but can we pass the -Wno-deprecated-gpu-targets flag to NVCC so it doesn't warn about deprecated architectures in our builds?

@brycelelbach brycelelbach added this to the 1.11.0 milestone Oct 14, 2020
@alliepiper
Copy link
Collaborator

Sure, I'm planning to do some other CMake work this week, so I'll get that in with the other changes.

@alliepiper alliepiper added only: cmake CMake changes only. Doesn't need internal NVIDIA CI. P1: should have Necessary, but not critical. labels Oct 14, 2020
alliepiper added a commit to alliepiper/thrust that referenced this issue Oct 15, 2020
- Bump CUB for recent CMake fixes.
- Fix NVIDIA#1316 Add -Wno-deprecated-gpu-targets.
alliepiper added a commit to alliepiper/thrust that referenced this issue Oct 19, 2020
- Bump CUB for recent CMake fixes.
- Fix NVIDIA#1316 Add -Wno-deprecated-gpu-targets.
alliepiper added a commit that referenced this issue Oct 19, 2020
- Bump CUB for recent CMake fixes.
- Fix #1316 Add -Wno-deprecated-gpu-targets.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
only: cmake CMake changes only. Doesn't need internal NVIDIA CI. P1: should have Necessary, but not critical.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants