is there some incompatibility issue between CUDA version 2.1 and the g++ compiler. I have seen something on the internet that suggested a reversion to g++ 4.1 from g++ 4.3. They claim that this g++ version works better with CUDA 2.1. Is this true?
Just wanted to add something … Note that it seems like 4.3 is a better compiler in general. For instance, the speedups in some of the latest builds of Firefox come from profile-guided optimisation and various internal improvements released in 4.3, so it may be worth trying to use 4.3 when possible.