The NVIDIA GPU Computing SDK provides hundreds of code samples, white papers, to help you get started on the path of writing software with CUDA C/C++ or DirectCompute.
The SDK code samples covers a wide range of applications and techniques, including:
The latest versions of the GPU Computing SDK and the CUDA Toolkit (which is required to compile the SDK code samples) are available on the CUDA Downloads Page.
Individual SDK code samples are also available for download, organized into several categories:
All of the code samples in the GPU Computing SDK are available under a permissive license that allows you to freely incorporate them into your applications and create derivative works for commercial, academic, or personal use.