Changes between Version 66 and Version 67 of OpenMPTransformation


Ignore:
Timestamp:
04/28/17 02:48:29 (9 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenMPTransformation

    v66 v67  
    235235  barrier_and_flush(): // collective operation on all shared objects
    236236    barrier();
    237     for each shared memory unit, check both:
    238        (1) there is at most one thread for which this memory unit
    239         has status MODIFIED, and (2) if there is one thread for which
    240         the memory unit is MODIFIED then all other threads have status
    241         EMPTY
    242       flush(memory unit);
     237    for each shared memory unit {
     238         check: if there is a thread for which that memory unit is MODIFIED,
     239            then all other threads have status EMPTY for that memory unit.
     240         flush(memory unit);
     241    }
    243242    barrier();
    244243  }}}