As the question stated, I\'m confused about the difference between memory barrier and complier-only fence.
Are they the same? If not what is the difference between th