CUDA SDK Quick Links
Computational Finance
CUDA Advanced Topics
CUDA Basic Topics
CUDA Systems Integration
Data-Parallel Algorithms
Graphics Interop
Image/Video Processing and Data Compression
Linear Algebra
Performance Strategies
Physically-Based Simulation
Texture
 

NVIDIA CUDA SDK - CUDA Advanced Topics



Niederreiter Quasirandom Sequence Generator For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample implements Niederreiter Quasirandom Sequence Generator and Inverse Cumulative Normal Distribution function for Standart Normal Distribution generation.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




Download - Windows x86
Download - Windows x64
Download - Linux/Mac


DCT8x8 For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample demonstrates how Discrete Cosine Transform (DCT) for blocks of 8 by 8 pixels can be performed using CUDA: a naive implementation by definition and a more traditional approach used in many libraries. As opposed to implementing DCT in a fragment shader, CUDA allows for an easier and more efficient implementation.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Marching Cubes Isosurfaces For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample extracts a geometric isosurface from a volume dataset using the marching cubes algorithm. It uses the scan (prefix sum) function from the CUDPP library to perform stream compaction.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Monte Carlo Option Pricing with multi-GPU support For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample evaluates fair call price for a given set of European options using the Monte Carlo approach, taking advantage of all CUDA-capable GPUs installed in the system. This sample use double precision hardware if a GTX 200 class GPU is present.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


FFT Ocean Simulation For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample simulates an Ocean heightfield using CUFFT and renders the result using OpenGL.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




Download - Windows x86
Download - Windows x64
Download - Linux/Mac


FFT-Based 2D Convolution For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample demonstrates how 2D convolutions with very large kernel sizes can be efficiently implemented using FFT transformations.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64


MersenneTwister For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample implements Mersenne Twister random number generator and Cartesian Box-Muller transformation on the GPU.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Monte Carlo Option Pricing For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample evaluates fair call price for a given set of European options using Monte Carlo approach. This sample use double precision hardware if a GTX 200 class GPU is present.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Binomial Option Pricing For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample evaluates fair call price for a given set of European options under binomial model. This sample will also take advantage of double precision if a GTX 200 class GPU is present.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Image denoising For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample demonstrates two adaptive image denoising technqiues: KNN and NLM, based on computation of both geometric and color distance between texels. While both techniques are implemented in the DirectX SDK using shaders, massively speeded up variation of the latter techique, taking advantage of shared memory, is implemented in addition to DirectX counterparts.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


DirectX Texture Compressor (DXTC) For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

High Quality DXT Compression using CUDA. This example shows how to implement an existing computationally-intensive CPU compression algorithm in parallel on the GPU, and obtain an order of magnitude performance improvement.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Fluids (Direct3D Version) For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

An example of fluid simulation using CUDA and CUFFT, with Direct3D 9 rendering.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




Download - Windows x86
Download - Windows x64


Line of Sight For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample is an implementation of a simple line-of-sight algorithm: Given a height map and a ray originating at some observation point, it computes all the points along the ray that are visible from the observation point. The implementation is based on the parallel scan primitive provided by the CUDPP library (http://www.gpgpu.org/developer/cudpp/).
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




Download - Windows x86
Download - Windows x64
Download - Linux/Mac


N-Body Simulation For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample demonstrates efficient all-pairs simulation of a gravitational n-body simulation in CUDA. This sample accompanies the GPU Gems 3 chapter "Fast N-Body Simulation with CUDA".
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Parallel Reduction For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

A parallel sum reduction that computes the sum of large arrays of values. This sample demonstrates several important optimization stratezies for parallel algorithms like reduction.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Fast Walsh Transform For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

Naturally(Hadamard)-ordered Fast Walsh Tranform for batched vectors of arbitrary eligible(power of two) lengths
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Eigenvalues For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

The computation of all or a subset of all eigenvalues is an important problem in linear algebra, statistics, physics, and many other fields. This sample demonstrates a parallel implementation of a bisection algorithm for the computation of all eigenvalues of a tridiagonal symmetric matrix of arbitrary size with CUDA.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Sobel Filter For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This sample implements the Sobel edge detection filter for 8-bit monochrome images.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Scan For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This example demonstrates an efficient CUDA implementation of parallel prefix sum, also known as "scan". Given an array of numbers, scan computes a new array in which each element is the sum of all the elements before it in the input array.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Scan of Large Arrays For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

This example demonstrates an efficient CUDA implementation of parallel prefix sum (also known as "scan") for arbitrary-sized arrays. Given an array of numbers, scan computes a new array in which each element is the sum of all the elements before it in the input array.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU



Download - Windows x86
Download - Windows x64
Download - Linux/Mac


Fluids (OpenGL Version) For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

An example of fluid simulation using CUDA and CUFFT, with OpenGL rendering.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU






Download - Windows x86
Download - Windows x64
Download - Linux/Mac


1D Discrete Haar Wavelet Decomposition For a direct link to this sample, right-click and copy the URL (shortcut) of this link icon.

Discrete Haar wavelet decomposition for 1D signals with a length which is a power of 2.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




Download - Windows x86
Download - Windows x64
Download - Linux/Mac

Last Update: 06/15/2009