Array notation merge operations

Array notation merge operations

Does the array notation support merge operations?

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Is the correct forum for this question?

Yes, this is the correct forum, maxx2315, and welcome. Cilk Plus supports array reductions similar to the following:

float a[100];
// code to manipulate a
float x = __sec_reduce_add(a[:]); // sum all elements of a

Is that what you are looking for?

Brandon Hewitt Technical Consulting Engineer Tools Knowledge Base: "http://software.intel.com/en-us/articles/tools" Software Product Support info: "http://www.intel.com/software/support"

Login to leave a comment.