Intel Threading Building Blocks (Intel TBB)

Exact exception propagation(exception_ptr) in the Intel® Threading Building Blocks (Intel® TBB) library and C++11

Exceptions and multithreading in C++03 and C++11

Multithreading is not uncommon these days, nor is using exceptions for error handling. So a user of the Intel® Threading Building Blocks (Intel® TBB) library may reasonably expect that exceptions raised during execution of a parallel algorithm are transferred to the master thread and thrown from a call to parallel algorithm function.

For example, given a code throwing the my_error exception:

Привязка потоков (affinity) в Intel® Threading Building Blocks на сопроцессоре Intel® Xeon Phi™

Библиотека Intel® Threading Building Blocks (Intel® TBB) [1] [2] предоставляет высокоуровневые интерфейсы для написания программ, использующих параллельные вычисления. И несмотря на то, что цель этих интерфейсов скрыть от разработчика управление потоками в системе, всё же иногда встречаются задачи, требующие ручного управления. Одна из таких задач - привязка программных потоков к определённым физическим потокам (ядрам) [3].

  • Desenvolvedores
  • Estudantes
  • Linux*
  • Cliente empresarial
  • Servidor
  • C/C++
  • Módulos de sub-rotinas Intel®
  • Intel Threading Building Blocks (Intel TBB)
  • Intel Xeon Phi
  • Affinity
  • tbb affinity
  • cache efficiency
  • observer
  • task_scheduler_observer
  • pi
  • тбб
  • аффинити
  • кэш
  • привязка потоков
  • Applying Intel® Threading Building Blocks observers for thread affinity on Intel® Xeon Phi™ coprocessors.

    In spite of the fact that the Intel® Threading Building Blocks (Intel® TBB) library [1] [2] provides high-level task based parallelism intended to hide software thread management, sometimes thread related problems arise. One of these problems is thread affinity [3]. Since thread affinity may help to optimize cache performance [3] [4] and consequently overall performance, this topic cannot be avoided.

    Assine o Intel Threading Building Blocks (Intel TBB)