[indent]Hello,[/indent]I don’t manage to make a function a template function. This function is in a .cu file and is called by the main function which is in a .cpp file. The function call a kernel from another .cu file.
Without the template the code runs correctly but, with it, the kernel is no more recognized as well.Thus, I get these errors:
NOTE: I’m “completing” the NPP library for our application needs by using modified UtilNPP files.
Here is a simplified code which reproduce the error (image1 and image2 can either be ImageCPU or ImageNPP objects) :