Multiple CUDA files

I am trying to break my large cuda file into a few smaller ones but once I try to incorporate multiple files into my VC++ project, a random kernel fails (error caught through cudaCheckMsg().

I looked this problem up and saw some inconsisent or unrelated solutions.

Any ideas?