One way to figure out how to get your compiler driver to stop after the preprocessing phase so you can see what was created. This will show you that the preprocessor has replaced and therefore gives you something to look for.
The -E option if you are using gcc and / E for MSVC.
For an nvcc compiler driver, a typical command would be
nvcc -E file.cu -o file.cup
source
share