compilation dependencies rules cppIntegration example...


During the compilation process, I’d like to know how the compiler can be able to look for the definition of the function

extern "C" void 

runTest (const int argc, const char** argv, 

             char* data, int2* data_int2, unsigned int len);

located in .cu file.

Cause in a standard makefile, dependencies rules are clearly explained…

Thx :blink:

nvcc–>make cu file into cpp, and then the cpp or c compiler to solve it^_^