DO statement in OpenMP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alien
    New Member
    • Sep 2007
    • 61

    DO statement in OpenMP

    Hi,

    I am having bit of confusion about !$OPENMP DO/!$OPENMP END DO and !$OPENMP PARALLEL DO/!$OPENMP END PARALLEL DO directives.

    Having looked at my notes, the only difference I can find is that the "parallel do" has the shared clause while the "!$OPENMP DO" doesn't have shared clause but has ORDERED. And few bits like REDUCTION while "parallel do" has REDUCTION clause.

    Is it just the difference between the clauses?

    Thanks.
Working...