06.08.2012 Views

Getting Started with CUDA

Getting Started with CUDA

Getting Started with CUDA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Build Configurations<br />

nvcc .cu [-o ]<br />

Builds release mode<br />

nvcc -g .cu<br />

Builds debug mode<br />

Can debug host code but not device code<br />

nvcc -deviceemu .cu<br />

Builds device emulation mode<br />

All code runs on CPU, no debug symbols<br />

nvcc -deviceemu -g .cu<br />

Builds debug device emulation mode<br />

All code runs on CPU, <strong>with</strong> debug symbols<br />

© 2008 NVIDIA Corporation.

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

Saved successfully!

Ooh no, something went wrong!