Nexis

Loop on the GPU

Discussion created by Nexis on Jul 2, 2008
Latest reply on Jul 18, 2008 by Nexis
Is it possible to run my kernel in an infinite loop?

Would it be possible to run a kernel inside an infinite loop on the GPU so that I only need to set a flag to 1 to start it and have my kernel set is back to 0 when it ends it's calculations so I can start all over again for the next iteration without needing to call the kernel again?

I guess there would be some limitations like the domain of the kernel would have to be small enough so that all the threads can run simultaneously on the GPU...

Thanks for the help

Outcomes