15.08.2012 Views

Introduction to CUDA C

Introduction to CUDA C

Introduction to CUDA C

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Review<br />

� Difference between “host” and “device”<br />

— Host = CPU<br />

— Device = GPU<br />

� Using __global__ <strong>to</strong> declare a function as device code<br />

— Runs on device<br />

— Called from host<br />

� Passing parameters from host code <strong>to</strong> a device function

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

Saved successfully!

Ooh no, something went wrong!