29.01.2013 Views

Tutorial CUDA

Tutorial CUDA

Tutorial CUDA

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.

Multiple CPU Threads and <strong>CUDA</strong><br />

<strong>CUDA</strong> resources allocated by a CPU thread can be<br />

consumed only by <strong>CUDA</strong> calls from the same CPU<br />

thread<br />

Violation Example:<br />

© NVIDIA Corporation 2008<br />

CPU thread 2 allocates GPU memory, stores address in p<br />

thread 3 issues a <strong>CUDA</strong> call that accesses memory via p<br />

49

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

Saved successfully!

Ooh no, something went wrong!