Array notation merge operations

Array notation merge operations

imagem de maxx2315

Does the array notation support merge operations?

3 posts / 0 new
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de maxx2315

Is the correct forum for this question?

imagem de Brandon Hewitt (Intel)

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

Faça login para deixar um comentário.