Linker errors 2005 and 1169 (multiply defined symbols) when using CUDA __device__ functions (should be inline by default)
This question is very much related to: A) How to separate CUDA code into multiple files B) Link error LNK2005 when trying to compile several CUDA files together Following advice from here: https://meta.stackexchange.com/questions/42343/same-question-but-not-quite and here https://meta.stackexchange.com/questions/8910/asking-a-similar-but-not-the-same-question I am asking a very similar question but I want to be absolutely clear about where is the difference between my question and the questions linked above. I was getting the linker errors from the title when including a header file, which