InterviewSolution
Saved Bookmarks
| 1. |
What Is The Memory Consistency Model Supported By Openmp? |
|
Answer» There is no “guaranteed” sharing/consistency of shared variables until a flush is called. Flush SETS that overlap are sequentially consistent and the writes of a VARIABLE become visible to every other THREAD at the point flush is serialized. This is slightly weaker than “WEAK consistency.” There is no “guaranteed” sharing/consistency of shared variables until a flush is called. Flush sets that overlap are sequentially consistent and the writes of a variable become visible to every other thread at the point flush is serialized. This is slightly weaker than “weak consistency.” |
|