Changes between Version 5 and Version 6 of OpenMPTransformation


Ignore:
Timestamp:
04/20/14 10:05:29 (12 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenMPTransformation

    v5 v6  
    7979Is there any loss of generality  by just running all iterations concurrently?
    8080
     81{{{
     82#pragma omp parallel for
     83  for (i...)
     84  S
     85}}}
     86
     87=>
     88
     89{{{
     90for (i...) {
     91  if (CIVL_owns(_nthreads, _tid, i)) {
     92    translate(S)
     93  }
     94}
     95barrier (unless no wait)
     96}}}
     97
     98
    8199=== `sections` ===
    82100
     
    143161}
    144162}}}
    145