CUDA 6.5 building problem

Thanks so much! It’s very helpful!
I ran the simpleDevLibCUBLAS well so I replaced it with my code and it succeeded. really thanks a lot.

I just right now wasted 3 hours not being aware of this. Many thanks.

My project has main.cu and functions.cu. My CUDA-specific code in main.cu compiles properly, however any CUDA-specific code inside functions.cu doesn’t. Many errors in functions.cu, none in main.cu.

When it comes to CUDA-specific code, in general, using MSVS, can you confirm that you should not use any other .cu source file than the one main() is in, or an #included .cuh file?

In other words … is it mandatory to put CUDA-specific code inside the .cu source file having main(), or any other .cuh file (which must of course be #included in the .cu file)?