Parallel_reduce Lambda for arrays

Parallel_reduce Lambda for arrays

Imagen de jaidotsh

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 source Thanks in advance, Jay

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de Alexey Kukanov (Intel)

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

Inicie sesión para dejar un comentario.