/wrox-pro-cuda-c

Sample code from the book "Professional CUDA C Programming"

Primary LanguageCudaMIT LicenseMIT

Professional CUDA C Programming

Included here are the code files for any samples used in the chapters as illustrative examples.

Each chapter has its own code folder that includes the sample .c and .cu files for that chapter. The per-chapter folders each also include a Makefile that can be used to build the samples included.

The common/ directory contains common.h, which includes code that is common to multiple chapters.

More about this book

Wrox website

Versions

June 14, 2015

  • Fix bugs in reduction and transpose examples.
  • Compile with -arch=sm_20 instead of the newer -arch=sm_30.
  • Immediately exit on error.

January 16, 2015

  • First version of all code samples.