Changes

Jump to: navigation, search

GPU621/Analyzing False Sharing

38 bytes added, 14:59, 24 November 2022
no edit summary
In this program code, we can easily see that the Number struct has two member variables (num1 and num2). They are for loop in two different threads to execute the increment operator 1000000 times. This time we use Linux with multiple cores to compile (note that here we are not using any optimization)
 
[[File:LinuxOutput.jpg|400px]]<br />
118
edits

Navigation menu