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
102 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_K_Intel3
Employee
102 Views
For sake of future readers: I have provided an example at StackOverflow.
Reply