Software Archive
Read-only legacy content
17061 ディスカッション

Question about CEAN

Sergey_Matvienko
ビギナー
558件の閲覧回数
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?
0 件の賞賛
1 解決策
Balaji_I_Intel
従業員
558件の閲覧回数
Hello Sergey,
As far as I know, Array notation only adds SIMD level parallelism.

Thanks,

Balaji V. Iyer.

元の投稿で解決策を見る

2 返答(返信)
Balaji_I_Intel
従業員
559件の閲覧回数
Hello Sergey,
As far as I know, Array notation only adds SIMD level parallelism.

Thanks,

Balaji V. Iyer.
TimP
名誉コントリビューター III
558件の閲覧回数
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.


返信