The GPU Computing SDK includes 100+ code samples, utilities, whitepapers, and additional documentation to help you get started developing, porting, and optimizing your applications for the CUDA architecture. You can get quick access to many of the SDK resources on this page, SDK documentation, or download the complete SDK.
Please note that you may need to install the latest NVIDIA drivers and CUDA Toolkit to compile and run the code samples.Refer to the SDK release notes for more information.
There are several sets of code samples included in the GPU Computing SDK download packages, please follow the links to browse the other examples:
- CUDA C/C++ Code Samples
- DirectCompute Code Samples
- CUDA Library Samples<<
- CUDA Toolkit & SDK Documentation
|
|
||
MersenneTwisterGP11213This sample demonstrates the Mersenne Twister random number generator GP11213 in cuRAND. |
![]() or later
Download - Windows (x86) |
|
|
|
||
GrabCut with NPPCUDA Implementation of Rother et al. GrabCut approach using the 8 neighborhood NPP Graphcut primitive introduced in CUDA 4.1. (C. Rother, V. Kolmogorov, A. Blake. GrabCut: Interactive Foreground Extraction using Iterated Graph Cuts. ACM Transactions on Graphics (SIGGRAPH'04), 2004) |
![]() or later
Download - Windows (x86) |
|
|
|
||
Histogram Equalization with NPPThis SDK sample demonstrates how to use NPP for histogram equalization for image data. |
![]() or later
Download - Windows (x86) |
|
|
|
||
FreeImage and NPP InteropabilityA simple SDK sample demonstrate how to use FreeImage library with NPP. |
![]() or later
Download - Windows (x86) |
|
|
|
||
Box Filter with NPPA NPP SDK sample that demonstrates how to use NPP FilterBox function to perform a Box Filter. |
![]() or later
Download - Windows (x86) |
|
|
|
||
Image Segmentation using Graphcuts with NPPThis sample that demonstrates how to perform image segmentation using the NPP GraphCut function. |
![]() or later
Download - Windows (x86) |
|
|
|
||
Preconditioned Conjugate GradientThis sample implements a preconditioned conjugate gradient solver on GPU using CUBLAS and CUSPARSE library. |
![]() or later
Download - Windows (x86) |
|
|
|
||
CUDA C Monte Carlo: Single Asian OptionThis sample uses Monte Carlo to simulate Single Asian Options using the NVIDIA CURAND library. |
![]() or later
Download - Windows (x86) |
|
|
|
||
CUDA C Monte Carlo Estimation of Pi (batch QRNG)This sample uses Monte Carlo simulation for Estimation of Pi (using batch QRNG). This sample also uses the NVIDIA CURAND library. |
![]() or later
Download - Windows (x86) |
|
|
|
||
CUDA C Monte Carlo Estimation of Pi (batch PRNG)This sample uses Monte Carlo simulation for Estimation of Pi (using batch PRNG). This sample also uses the NVIDIA CURAND library. |
![]() or later
Download - Windows (x86) |
|
|
|
||
CUDA C Monte Carlo Estimation of Pi (batch inline QRNG) This sample uses Monte Carlo simulation for Estimation of Pi (using batch inline QRNG). This sample also uses the NVIDIA CURAND library. |
![]() or later
Download - Windows (x86) |
|
|
|
||
CUDA C Monte Carlo Estimation of Pi (inline PRNG)This sample uses Monte Carlo simulation for Estimation of Pi (using inline PRNG). This sample also uses the NVIDIA CURAND library. |
![]() or later
Download - Windows (x86) |
|
|
|
||
CUDA C Random FogThis sample illustrates pseudo- and quasi- random numbers produced by CURAND. |
![]() or later
Download - Windows (x86) |
|
|
|
||
ConjugateGradientThis sample implements a conjugate gradient solver on GPU using CUBLAS and CUSPARSE library. |
![]() or later
Download - Windows (x86) |
|
|
|
||
batchCUBLASA SDK sample that demonstrates how using batched CUBLAS API calls to improve overall performance. |
![]() or later
Download - Windows (x86) |
|
|
|
||
Simple CUBLASExample of using CUBLAS using the new CUBLAS API interface available in CUDA 4.0. |
![]() or later
Download - Windows (x86) |
|
|
|
||
Simple CUFFTExample of using CUFFT. In this example, CUFFT is used to compute the 1D-convolution of some signal with some filter by transforming both into frequency domain, multiplying them together, and transforming the signal back to time domain. |
![]() or later
Download - Windows (x86) |
|







Registered Developers Website
NVDeveloper (old site)