I have opened a module using cuModuleLoad() from thread t1 against context c1. I get a pointer to the kernel present inside that module.
I pass this module loaded from thread t1 to thread t2. Thread t2 is also attached to the context c1. I retrieve the pointer to the kernel present inside the module.
Now can both threads t1 and t2, launch the kernel simultaneously
OR
should the second thread reload a fresh module and retrieve the kernel from the new module and launch it?