• 09/03/2020
  • Public Content

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
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*
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*
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*
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*
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*
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*
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*
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*
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*
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*
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*
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*
1

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserverd for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804