Parallel_reduce Lambda for arrays

Parallel_reduce Lambda for arrays

Can I use lambda functions to do parallel_reduce of arrays in TBB?.
It's not over a single variable say, "sum". But over an array "sum[i]". I did not find this in the examples or in the Tutorial pdf. Can you direct me to a sourceThanks in advance,Jay

2 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

For sake of future readers: I have provided an example at StackOverflow.

发表评论

登录添加评论。还不是成员?立即加入