Hi all
I have a Monte Carlo code which often runs into timeout error (“launch timed out and was terminated”) when it starts large number of particles. Is there a way to put a timer in the kernel that can stop and restart it before it reaches the timeout? I know there are cutTimer functions and Events but I can’t use them in the kernel itself. Since it is a MC code I can’t really determine how many cycles it will take to finish before the start of the kernel. I would appreciate any idea. thx