Getting Started with Intel® Cilk™ Plus Array Notations

Published: 03/29/2012, Last Updated: 03/29/2012

Introduction

Array Notations is an Intel-specific language extension that is a part of Intel® CilkTM Plus feature supported by the Intel® C++ Compiler that provides ways to express data parallel operation on ordinary declared C/C++ arrays.  By using array notations, you can improve the performance of your application through Vectorization.  Vectorization is the key to improving your applications' performance through taking advantage of the processor's capability to operate on multiple array (or vector) elements at a time.  The Intel® Compilers provide unique capabilities to enable vectorization. The programmer may be able to help the compiler to vectorize more loops through a simple programming style and by the use of compiler features designed to assist vectorization.  This article discusses how to use the Array Notations feature from the Intel® CilkTM Plus, to help the compiler to vectorize C/C++ code and improve performance.

Click here to continue reading the article.

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 reserved 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