Changes

Jump to: navigation, search

GPU621/Analyzing False Sharing

10 bytes removed, 11:53, 23 November 2022
Example Of A False Sharing
To our surprise, the serial block is much less time-consuming. This turns our existing knowledge upside down, but don't worry, it's because you haven't understood False Sharing yet.
As we said above, the smallest unit of CPU operation on the cache is the size of a cache line, which is 64 bytes. As you can see in our program code, sum is a vector that stores 2 consecutive two long data types.
118
edits

Navigation menu