Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
2421 Discussions

What is the diffrence between parallel_for, parallel_for_each and parallel_do?

Riyad_Parvez
Beginner
275 Views

What is the diffrence between parallel_for, parallel_for_each and parallel_do?

0 Kudos
6 Replies
RafSchietekat
Black Belt
275 Views

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

robert-reed
Valued Contributor II
275 Views
Riyad_Parvez
Beginner
275 Views

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

Vladimir_P_Intel2
275 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

robert-reed
Valued Contributor II
275 Views

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

Riyad_Parvez
Beginner
275 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. 

Reply