- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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?
1 解決策
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hello Sergey,
As far as I know, Array notation only adds SIMD level parallelism.
Thanks,
Balaji V. Iyer.
As far as I know, Array notation only adds SIMD level parallelism.
Thanks,
Balaji V. Iyer.
コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hello Sergey,
As far as I know, Array notation only adds SIMD level parallelism.
Thanks,
Balaji V. Iyer.
As far as I know, Array notation only adds SIMD level parallelism.
Thanks,
Balaji V. Iyer.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
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.
