Community
cancel
Showing results for 
Search instead for 
Did you mean: 
peter_silie
Beginner
73 Views

parallel_reduce / identity element

Hi,

according to the reference manual, the identity element passed to parallel_reduce must be the RIGHT identity element (table 12, page 34). However, as the underlying operation need not be commutative and blocks are usually evaluated from left to right, I would assume that the LEFT identity element is used as the starting value. Any hints what is wrong with my assumption?

Thanks and kind regards,
Peter
0 Kudos
1 Reply
ARCH_R_Intel
Employee
73 Views

Thanks for reporting the documentation error. Yes, it should be the left identity.

We froze our documentation for the next update last week, so the fix likely won't show up for a few months.

- Arch

Reply