Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Parallel_reduce Lambda for arrays

jaidotsh
Beginner
406 Views
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 did not find this in the examples or in the Tutorial pdf. Can you direct me to a source
Thanks in advance,
Jay
0 Kudos
1 Reply
Alexey-Kukanov
Employee
406 Views
For sake of future readers: I have provided an example at StackOverflow.
0 Kudos
Reply