NVIDIA Developer Zone

CUDA by Example: An Introduction to General-Purpose GPU Programming

 

Quick Links

CUDA by Example, written by two senior members of the CUDA software platform team, shows programmers how to employ this new technology. The authors introduce each area of CUDA development through working examples. After a concise introduction to the CUDA platform and architecture, as well as a quick-start guide to CUDA C, the book details the techniques and trade-offs associated with each key CUDA feature. You’ll discover when to use each CUDA C extension and how to write CUDA software that delivers truly outstanding performance.

Table of Contents


 

  • Why CUDA? Why Now?
  • Getting Started
  • Introduction to CUDA C
  • Parallel Programming in CUDA C
  • Thread Cooperation
  • Constant Memory and Events
  • Texture Memory
  • Graphics Interoperability
  • Atomics
  • Streams
  • CUDA C on Multiple GPUs
  • The Final Countdown

All the CUDA software tools you’ll need are freely available for download from NVIDIA.


Authors

Jason Sanders is a senior software engineer in NVIDIA’s CUDA Platform Group, helped develop early releases of CUDA system software and contributed to the OpenCL 1.0 Specification, an industry standard for heterogeneous computing. He has held positions at ATI Technologies, Apple, and Novell.

Edward Kandrot is a senior software engineer on NVIDIA’s CUDA Algorithms team, has more than twenty years of industry experience optimizing code performance for firms including Adobe, Microsoft, Google, and Autodesk.

by meriqs
postd on Jan 29 2012 at 07:09AM

Oh, by the way.

When talking about normal C, you should make the very important distinction that is it is actually C++ you are talking about

by meriqs
postd on Jan 29 2012 at 05:46AM

This book sorry to say is TERRIBLE.

I am a computer scientist with a PhD and a very good C/C++ programmer.

This book is exceptionally condescending in places - written as if its audience are a bunch of 5 years olds.

Contrary to the above the book in areas is verbose and more complicating than what it should be. Things are presented in words going on and on with mindless and incomprehensible details when a simple diagram would explain things much more clearly. Things are also presented in the wrong manner and order also. Explanations to content are first given before the content is actually seen.

Further to this, the mathematics that are used in the programming examples are again verbose.
Things could be calculated in short and more simpler equations than what is written in the book already. I have no idea why the authors chose this manner but they use equations that make understanding their point much more difficult to comprehend.

This is an Ok book to learn CUDA but frankly it is an absolute waste of money.

Next time these authors write a book or indeed anyone related to CUDA writes a book, I will first download it illegally to check if it ok before I consider buying it because frankly the book I bought is a waste of paper, resources and space on my library.

by quarkleopard
postd on Jul 06 2011 at 07:34AM
i'm a student.thank you .