Tutorial CUDA
Tutorial CUDA
Tutorial CUDA
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Host Synchronization<br />
All kernel launches are asynchronous<br />
© NVIDIA Corporation 2008<br />
control returns to CPU immediately<br />
kernel executes after all previous <strong>CUDA</strong> calls have<br />
completed<br />
cudaMemcpy is synchronous<br />
control returns to CPU after copy completes<br />
copy starts after all previous <strong>CUDA</strong> calls have completed<br />
cudaThreadSynchronize()<br />
blocks until all previous <strong>CUDA</strong> calls complete<br />
47