How to synchronize too many blocks thread's together?

May 20, 2012 at 2:03 PM

Hi,

When I use "thread.SyncThreads()" I can't synchronize all threads in a grid.

How I can synchronize all threads in a grid?

Is there any event waiting in threads?

Thanks.

Coordinator
May 21, 2012 at 1:53 PM

You cannot sync all the threads in a grid from within a kernel function. You need to do this from the host GPGPU class (Synchronize).