CUDA: How to reuse kernels in multiple files (for unit testing)
- by zenna
How can I go about reusing the same kernel without getting fatal linking errors due to defining the symbol multiple times
In Visual Studio I get
"fatal error LNK1169: one or more multiply defined symbols found"
My current structure is as follows:
Interface.h has an extern interface to a C function: myCfunction() (ala the C++ integration SDK…