Open main menu

CDOT Wiki β

Changes

GPU621/Analyzing False Sharing

344 bytes added, 16:51, 24 November 2022
no edit summary
[[File:mySerial.jpg|400px]]<br />
 
Have you learned? The so-called false sharing can make performance worse in fact this cannot be generalized. We can see that with O2 on, the CPU and compiler are able to optimize the serial version of the code very well, while the multi-threaded code is not well optimized, which leads to higher performance of the serial version of the code.
118
edits