Skip to content

Conversation

@alx
Copy link

@alx alx commented Dec 3, 2025

Added section on CUDA architectures and example for GeForce RTX 4070.

Added section on CUDA architectures and example for GeForce RTX 4070.
@leejet
Copy link
Owner

leejet commented Dec 4, 2025

CMake automatically infers and sets an appropriate architecture based on the GPU on the current host. For users who are not familiar with CUDA architectures, manually setting CMAKE_CUDA_ARCHITECTURES may introduce risks, as they might choose an architecture that is not compatible with their GPU.

@alx
Copy link
Author

alx commented Dec 5, 2025

Hi @leejet, thanks for your feedback, I agree with it. I was initially pushing this PR for myself only, as I needed to include this flag for my setup. No need to introduce new risks. Have a nice day.

@alx alx closed this Dec 5, 2025
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

Successfully merging this pull request may close these issues.

3 participants