#pragma omp cancel

Forum for the public review of the OpenMP 4.0 API Release Candidates. (Read Only)
Forum rules
This forum is now closed.

#pragma omp cancel

Postby jakub » Tue Mar 19, 2013 8:41 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?
jakub
 
Posts: 74
Joined: Fri Oct 26, 2007 3:19 am

Re: #pragma omp cancel

Postby hhj » Fri Mar 22, 2013 3:26 pm

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
hhj
 
Posts: 16
Joined: Thu May 01, 2008 11:59 am


Return to OpenMP 4.0 Public Review Release Candidates

Who is online

Users browsing this forum: No registered users and 0 guests

cron