-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Which Visual Studio 2022 BuildTools MSVC is the best version for Cuda 11.8 and Cuda 12.4 and so #4941
Comments
Ideally the latest version should be the best, although there can possibly be unexpected regressions. Feel free to report bugs. |
Latest version doesn't work with CUDA 11.8 |
Oh, I forgot to say that the version of CUDA should also be the latest. The support for CUDA before 12.4 was dropped by #4475 which was merged in VS 2022 17.11. So 17.10 should be OK for CUDA 11.8. |
thanks . are there any place that shows 17.10 supports which cuda list? or like 17.8? also an app that works with cuda 11.8, would work 100% with cuda 12.4 if compiled with 17.11 can we tell that? |
Here's the full history. It helps to know that CUDA rejects too-new VS versions (for having a too-large CUDA has an escape hatch compiler option, and MSVC's STL has an escape hatch macro, that disable this enforcement. Escape-hatching CUDA to allow a newer VS version is very likely to work. Escape-hatching MSVC's STL to use an older CUDA version is much more perilous.
We recommend that you use the latest VS version (an even-numbered Long-Term Support release, if that's what you prefer) and the latest CUDA version. |
I keep having issues when compiling apps that requires CUDA and C++ tools on windows
I would like to learn best version for CUDA 11.8 and CUDA 12.4
There are so many versions listed here and not all of them working
https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-history
For example recently I am compiling XPose and it is so sensitive to the C++ versions
Which version from above list do you suggest?
The list starts from 17.0 to 17.10
Can we say that LTSC 17.10 is better than LTSC 17.4
I really need help with this
The text was updated successfully, but these errors were encountered: