Cuda 11 with GCC 10

Hey. How to support cuda 11 with gcc 10? What patches need to be applied so that they work together? Gcc 11 is coming soon, and you only have support with version 9.

Nvidia is always years behind with GCC support. Finally CUDA 11 supports GCC9 several years too late, while GCC10.2 is already out and GCC11 will come also.

Causes me and many others to have to compile and maintain an older parallel gcc just for nvidia stuff. It’s a pain and it wastes a lot of developer time. It’s sad.

Good news, GCC 10 is supported since CUDA 11.1.0 : https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#title-new-cuda-tools

1 Like

That’s great news! Hopefully Nvidia will update the installation guides to reflect that support - currently still lists GCC9, and the install guides are where most people go to see what’s supported.