This is a computer translation of the original content. It is provided for general information only and should not be relied upon as complete or accurate.

# All Samples and Downloads

This page contains all the samples sorted by sample name. Click on the sample name to see an in-depth description and source code.

Sample Name | Program Domain/Area | Description | Target Platforms | OSes |
---|---|---|---|---|

Averaging Filter | Image Processing |
A commonly used filter in the field of image processing and is mainly used for removing any noise in a given image. Usage of Intel® Cilk™ Plus: `cilk_for` and Array Notation |
Desktop | Windows*; Linux*; OS X* |

Binomial Lattice | Finance | Used to evaluate an American option, which can be redeemed any time between two dates. Usage of Intel® Cilk™ Plus: `cilk_for` and `#pragma simd` |
Desktop | Windows*; Linux*; OS X* |

Black-Scholes Equation | Finance |
Estimates the price of an option over time. Can be used to smartly hedge the option on its underlying assets, among many other applications. Usage of Intel® Cilk™ Plus: `cilk_for` and Array Notation |
Desktop | Windows*; Linux*; OS X* |

Discrete Cosine Transforms (DCT) | Image Processing |
DCT and Quantization are the first two steps in the JPEG compression standard. Usage of Intel® Cilk™ Plus: `cilk_for` and Array Notation |
Desktop | Windows*; Linux*; OS X* |

Fluid Animate | Computational Fluid Dynamics |
Simulate the flow of fluid in a container using the Smoothed-Particle Hydrodynamics model. Usage of Intel® Cilk™ Plus: `cilk_for` and Array Notation |
Desktop | Windows*; Linux*; OS X* |

Fluid Animate with Profile Guided Optimization (PGO) | Computational Fluid Dynamics |
Simulate the flow of fluid in a container using the Smoothed-Particle Hydrodynamics model. Usage of Intel® C++ compiler PGO optimization Usage of Intel® Cilk™ Plus: Array Notation |
Desktop | Windows*; Linux*; OS X* |

Mandelbrot | Image Processing |
A visually impressive iterative algorithm that checks the bounds of a complex (imaginary) number over iterations and plots the depth (number of iterations) on a complex plane. Usage of Intel® Cilk™ Plus: `cilk_for` and `#pragma simd` |
Desktop | Windows*; Linux*; OS X* |

Merge Sort | Classic Algorithms | Merge sort algorithm is a comparison-based sorting algorithm. In this sample, we use top-down implementation, which recursively splits list into two halves (called sublists) until size of list is 1. Then merge these two sublists and produce a sorted list. Usage of Intel® Cilk™ Plus: `cilk_spawn` |
Desktop | Windows*; Linux*; OS X* |

Monte Carlo | Finance |
Utilizes Monte Carlo simulation to estimate the valuation of a swaption portfolio. Usage of Intel® Cilk™ Plus: `cilk_for` and Array Notation |
Desktop | Windows*; Linux*; OS X* |

RTM Stencil | Stencil | Solve the wave equation using the finite difference method. This sample computes a 3-D 25-point stencil. Usage of Intel® Cilk™ Plus: `cilk_spawn` and `#pragma simd` |
Desktop | Windows*; Linux*; OS X* |

Sepia Filter | Image Processing |
Converts a color image to a duotone image with a dark Brown-Gray color. Usage of Intel® Cilk™ Plus: `cilk_for` and Array Notation |
Desktop | Windows*; Linux*; OS X* |

Shortest Path | Classic Algorithms | Dijkstra algorithm is a graph search algorithm that solves the single-source shortest path problem for a graph with non-negative edge path costs, producing a shortest path tree. Usage of Intel® Cilk™ Plus: `cilk_for` and Array Notation | Desktop | Windows*; Linux*; OS X* |

For more complete information about compiler optimizations, see our Optimization Notice.