Question about CEAN

Question about CEAN

Bild des Benutzers Sergey Matvienko

Hello, i have read Intel Cilk Plus documentation, but there is one issue with CEAN (C/C++ extended array notation) i'm confused about. Does it use thread level paralellism or only SIMD level parallelism? Or more specifically, an i use it to just vectorise my code without adding any multithreading?

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Balaji Iyer (Intel)
Best Reply

Hello Sergey,
As far as I know, Array notation only adds SIMD level parallelism.


Balaji V. Iyer.

Bild des Benutzers Tim Prince

Array notation is useful in order to employ Cilk+ templates:

sum = __sec_reduce_add(a[:] > 0 ? a[:] : 0); // sum of positive elements

Apparently this doesn't involve either vectorization or threading; it's remarkably efficient under those limitations.

Melden Sie sich an, um einen Kommentar zu hinterlassen.