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

What is the diffrence between parallel_for, parallel_for_each and parallel_do?

Riyad_Parvez
Beginner
706 Views

What is the diffrence between parallel_for, parallel_for_each and parallel_do?

0 Kudos
6 Replies
RafSchietekat
Valued Contributor III
706 Views

It is all explained in the User Guide that is available on the TBB website (and since recently in each distribution).

0 Kudos
robert-reed
Valued Contributor II
706 Views
0 Kudos
Riyad_Parvez
Beginner
706 Views

Sorry, for bothering. But TBB docs aren't so SEO friendly. I had hard time finding about parallel_for_each.

0 Kudos
Vladimir_P_1234567890
706 Views

well, it looks it not SEO problem, it is rather search is broken for user guide:) i'll check.

meanwhile search works for reference manual http://threadingbuildingblocks.org/docs/help/index.htm#reference/reference.htm

--Vladimir

0 Kudos
robert-reed
Valued Contributor II
706 Views

Try the reference manual, under Algorithms, listed between parallel_do and pipeline algorithms.

0 Kudos
Riyad_Parvez
Beginner
706 Views

BTW, you guys should really improve documentation. As a newbie, I've some difficulties. And please add syntax highlighting and a decent member function list like java doc. 

0 Kudos
Reply