Hello,
is it expected that for cpp-extensions with the JIT compilation the compiler will “merge” files if different modules if they have the same filename.
For example with this structure
module1/my_kernel.cu
module2/my_kernel.cu
every functions used in module2 will be overwritten by functions from module1!
Edit: Actually file name does not even matter, it will also work for files with different names