Changes

Jump to: navigation, search

GPU621/Analyzing False Sharing

375 bytes added, 17:23, 23 November 2022
Example Of A False Sharing
[[File:newBlockOutput1000000(1).jpg|400px]]<br />
 
Now we can already see the advantage of multi-threading. Even when the vector numbers reach the size of 1000000, the Thread block even runs faster than the Serial block.
 
So the problem of false sharing sometimes cannot be generalized, and the occurrence of false sharing does not necessarily make performance lower. But no matter how the new block is the optimal solution.
118
edits

Navigation menu