I have header file (xxx) which contains following variable declarations:
Then I include “yyy” and define the variables in “yyy”:
However, when I compile I get below errors:
In “yyy” variable definitions are global. “yyy” is compiled along with “xxx” as part of the same project. I also have a third CUDA file, where I define them locally in a function, and this file gives no error at compilation. Any ideas what do I do wrong here?