Hi,
<>
My project is divided into multiple/separate cu, cuh files. As a result, function declarations and constant memory declarations are done in header file and it is being used in various kernels and device functions. But I am not getting correct result.
When all the functions,variables and constant memory variables are in a single file, then constant values respond correctly, but when declaration is in cuh, definition is a cu file and usage in another file/device function, the results are not correct.
Please advise the design and usage of constant memory variable if separate files (like helperFile.cu, header.cuh and main.cu) exist.