Also see CUDA Compiler.
Kajanan was explaining this really well to me. The
.cu file extension just specifies that it is a CUDA file.
If you want to include CUDA code in regular
.cpp file, just write a header file for the
.cu file, and then include it.