Changes between Version 65 and Version 66 of OpenMPTransformation
- Timestamp:
- 04/28/17 02:38:24 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenMPTransformation
v65 v66 187 187 `2=MODIFIED`: local is occupied, writes have been made to it 188 188 189 Initially: `local=shared`, `status=FULL` 189 '''Initially: `local=default value`, `status=EMPTY`''' 190 190 191 191 Protocols for reads, writes, and flushes: … … 235 235 barrier_and_flush(): // collective operation on all shared objects 236 236 barrier(); 237 for each shared memory unit: 238 assert there is at most one thread for which this memory unit 239 has status MODIFIED; 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 240 242 flush(memory unit); 241 243 barrier();
