[solved] Cpp-extension using wrong files for compilation

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 :confused:

Found the issue: when using load(name="my_module_name") you cannot import two modules with the same name!