06.08.2012 Views

Getting Started with CUDA

Getting Started with CUDA

Getting Started with 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.

Executing Code on the GPU<br />

Kernels are C functions <strong>with</strong> some restrictions<br />

Cannot access host memory<br />

Must have void return type<br />

No variable number of arguments (“varargs”)<br />

Not recursive<br />

No static variables<br />

Function arguments automatically copied from<br />

host to device<br />

© 2008 NVIDIA Corporation.

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

Saved successfully!

Ooh no, something went wrong!