Intel® Cilk™ Plus – AOBench Sample

This is the AOBench example associated with the "Intel® Cilk™ Plus – The Simplest Path to Parallelism" how-to article.  It shows an Ambient Occlusion algorithm implemented as serial loops, one using Intel Cilk Plus' cilk_for keyword to implement parallelism, one version using Intel Cilk Plus' array notations to allow vectorization for the SIMD instruction, and another version using both cilk_for and the array notations.  It demonstrates great performance with very little coding changes through both data-parallelism and task-parallelism.

By installing or copying all or any part of the software components in this page, you agree to the terms of the Intel Sample Source Code License Agreement.
有关编译器优化的更完整信息,请参阅优化通知