I wrote some code in a .cu file:
template < typename T> void SensefullFunction(T type)
// To do something sensefull
I want to launch this function from a .cpp file. Without using templates it works fine, but now I get this error:
Error 8 error: this declaration may not have extern “C” linkage
Is it not possible to use templates at the interface between .cpp and .cu - files?