Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

Optimizing reduce_by_key implementation using TBB

Shruti_R_
Beginner
298 Views

Hello Everyone,

I'm quite new to TBB & have been trying to optimize reduce_by_key implementation using TBB constructs. However serial STL code is always outperforming the TBB code! It would be helpful if I'm given an idea about how reduce_by_key can be improvised using tbb::parallel_scan. Any help at the earliest would be much appreciated.

Thanks.

0 Kudos
0 Replies
Reply