Open main menu

CDOT Wiki β

Changes

GPU621/Group 1

248 bytes added, 12:35, 31 March 2023
Sources
[[File:MESIDIAGRAM123.PNG]]
== Sources Example == In this example, we have two threads running in parallel, each incrementing a separate counter variable. The volatile keyword is used to ensure that the compiler doesn't optimize away the increments. We also define the cache line size as 64 bytes. 
<pre>
#include <iostream>
</pre>
 
 
== Sources ==