Author(s): Anoop Madhusoodhanan Prabha, Mark Sabahi
array notation
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.
Function maps in Array Notation are not converted to multi-threaded calls
Reference Number : DPD200167322
Version : 12.0
Product : Intel® C++ Compiler XE
Operating System : Windows*, Linux* and Mac* OS
Problem Description :
In "Intel® C++ Compiler XE 12.0 User and Reference Guides" -> "Creating Parallel Applications" -> "Using Intel® Cilk™ Plus" -> "Extensions for Array Notation" -> "C/C++ Extensions for Array Notations Programming Model", it says:
Version : 12.0
Product : Intel® C++ Compiler XE
Operating System : Windows*, Linux* and Mac* OS
Problem Description :
In "Intel® C++ Compiler XE 12.0 User and Reference Guides" -> "Creating Parallel Applications" -> "Using Intel® Cilk™ Plus" -> "Extensions for Array Notation" -> "C/C++ Extensions for Array Notations Programming Model", it says:
New Rules for Array Sections in Intel® Cilk™ Plus
This blog covers two important changes in the new specification to improve the language extension. One permits compilers to generate more efficient code. The other resolves a fundamental conflict that array sections brought up.
SIMD Parallelism using Array Notation
Are you a C or C++ programmer who has ever envied APL or Fortran 90's array expressions? Read on. If you don't know what array expressions are, then you really should read on, to find out what you should have envied. In any case, the envy is over, because Intel Parallel Composer 2011 brings array expressions to C and C++.
