15.08.2012 Views

Introduction to CUDA C

Introduction to CUDA C

Introduction to CUDA C

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!