taskwait semantics

Discuss the OpenMP 3.0 API Specifications with the OpenMP Arch. Review Board. (Read Only)

taskwait semantics

Postby matsbror » Sat Sep 27, 2008 11:42 pm

The specification states: "The current task region is suspended at the task scheduling point until execution
of all its child tasks generated before the taskwait region are completed."

Does this apply to grand-children and other descendants as well?

As I understand the spec, OpenMP allows for tasks to finish before their child-tasks have finished (in contrast to e.g. cilk) and therefore I interpret the semantics of taskwait to apply only for direct children. Other descendants need to be synchronized using barriers instead. Am I right?


Re: taskwait semantics

Postby Yuan » Mon Sep 29, 2008 2:32 pm

Yes. 'taskwait' waits for immediate children only.

-- Yuan

Re: taskwait semantics

Postby DeLoghi » Fri Dec 05, 2008 11:36 pm


Return to OpenMP 3.0 API Specifications

Who is online

Users browsing this forum: No registered users and 1 guest