Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily add "-Wno-deprecated-gpu-targets" to set_runtime #761

Open
vyasr opened this issue Jan 31, 2025 · 0 comments
Open

Temporarily add "-Wno-deprecated-gpu-targets" to set_runtime #761

vyasr opened this issue Jan 31, 2025 · 0 comments

Comments

@vyasr
Copy link
Contributor

vyasr commented Jan 31, 2025

As of CUDA 12.8, when compiling for sm75 nvcc prints a warning

nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

We could add the suppression flag to all of RAPIDS, but given that we have a centralized way of linking to the CUDA runtime anyway perhaps we should simply set the compile flag in rapids_cuda_set_runtime where we link to the CUDA runtime.

This change would have the nice side effect of immediately telling us if any RAPIDS project is not using rapids_cuda_set_runtime, which could lead to unrelated subtle bugs around linking the CUDA targets unless they do things just right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant