The CUDA Developer SDK provides examples with source code, utilities, and white papers to help you get started writing software with CUDA. The SDK includes dozens of code samples covering a wide range of applications including:
This code is released free of charge for use in derivative works, whether academic, commercial, or personal. (Full License)
The NVIDIA CUDA Toolkit is required to run and compile code samples. Please obtain the CUDA Toolkit here