Forum for the public review of the OpenMP 4.0 API Release Candidates. (Read Only)
This forum is now closed.
- Posts: 74
- Joined: Fri Oct 26, 2007 3:19 am
In 2.13.1 on pp118/119 I don't find the text clear enough to require exactly one of the non-if clauses plus optional if clause. The syntax makes it clear that at least one clause must be specified, but I don't see any wording that would make it clear that
#pragma omp cancel if (1)
is invalid. Can the wording be improved for the final version?
- Posts: 17
- Joined: Thu May 01, 2008 11:59 am
I think you are correct. The only optional clause should be the if clause. We need to fix the wording in the final version to make it clear. Thanks for the note. -Henry