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 - Performance Strategies



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


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

Efficient matrix transpose.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




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


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

This example shows how to use the clock function to measure the performance of kernel accurately.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




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


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

A simple test, showing huge access speed gap between aligned and misaligned structures.
  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


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

This sample uses CUDA streams and events to overlap execution on CPU and GPU.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




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


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

This sample uses CUDA streams to overlap kernel executions with memcopies between the device and the host. Requires Compute Capability 1.1 or higher.
  Minimum Required GPU
Minimum Required GPUor later
Minimum Required GPU




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


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

This is a simple test program to measure the memcopy bandwidth of the GPU. It currently is capable of measuring device to device copy bandwidth, host to device copy bandwidth for pageable and page-locked memory, and device to host copy bandwidth for pageable and page-locked memory.
  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

Last Update: 06/15/2009