Introduction to CUDA C
Introduction to CUDA C
Introduction to CUDA C
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Review<br />
� Race conditions<br />
— Behavior depends upon relative timing of multiple event sequences<br />
— Can occur when an implied read-modify-write is interruptible<br />
� A<strong>to</strong>mic operations<br />
— <strong>CUDA</strong> provides read-modify-write operations guaranteed <strong>to</strong> be a<strong>to</strong>mic<br />
— A<strong>to</strong>mics ensure correct results when multiple threads modify memory