Improving graphics processing performance using Intel(R) Cilk(TM) Plus

Author(s): Anoop Madhusoodhanan Prabha, Mark Sabahi


Intel® Cilk™ Plusis an extension to the C and C++ languages to support data and task parallelism.  It provides three new keywords to implement task parallelism and an array notation syntax to express data parallelism.  This article demonstrates how to improve the performance of a graphics processing program using Intel Cilk Plus.  To demonstrate the performance increase, you will use a program that converts a bitmap file from color image to a Sepia tone image.  A Sepia tone image is monochromatic image with a distinctive Brown Gray color that provides a distinctive tone to a photograph when Black & White film was available.  The program works by converting each pixel in the bitmap file to a Sepia tone.

Click the download links below to continue reading the article, and download the samle code.

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