On Tue, Apr 05, 2011 at 11:05:01AM +0900, Sho Nakatani wrote: > - When task A encounters "#pragma omp task" derective, worker creates a task > and immediately execute it. Worker pushes A to the head of deque.
Immediately starting a freshly created task on #pragma omp task is nice for cache locality, except it doesn't work at all for tied tasks which you can't move to other threads. For tied tasks (and GCC currently has all tasks tied) it serializes everything. Jakub