Intel® Threading Building Blocks

cross compilation from linux to windows using mingw-w64


I have some difficulty to cross compile tbb on my linux machine. My aim is to compile tbb on linux but for use on windows. The cross compiler is mingw-w64: x86_64-w64-mingw32-g++-5.2.0.

For other libraries, I normally just set CC, CXX, CFLAGS and CXXFLAGS and run configure, make, make install:

CC=x86_64-w64-mingw32-gcc-5.2.0 CXX=x86_64-w64-mingw32-g++-5.2.0 ./configure; make; make install

However for tbb, there is no such configure procedure and I was not able to modify the .inc files in build to do the same.

Slower parallel run in the modified example, "concurrent_hash_map"

Only changed srand(time(NULL)) instead of srand(2) (in the main() function, Ln.186)

int main( int argc, char* argv[] ) {
    try {
        tbb::tick_count mainStartTime = tbb::tick_count::now();
//        srand(2);

After modifying it, some executions got slower in parallel run.
It looks some different set of data caused this.
Can anyone explain why this behavior happens?
I'm newbie of Intel TBB. So please let me know if I misunderstand something.

Priority Queue insertion of max element


I need to use a concurrent priority queue for extracting min-values elements.

I know that in my domain, during a pushback of an element it is assured that the element's value is greater than all values of elements in the queue prior to the pushback operation. 

Can I assume from this that the pushback operation will have O(1) complexity? (similarly to the classic array-based heap implementation, where a new element is inserted at the next free position in the array, and then a "heapify" operation cascades it up the heap if necessary).



Linking in Qt Creator


I found this page in the Intel Developer Zone:

It sais how to use using standart Linux compiler and linker.

Could you, please, help me doing the same using Qt Creator in Linux. What should I write in the pro-file to achieve the same result?

Thanks in advance.

Установка OpenCV 3.0.0-rc1 (с использованием IPP и TBB) на Intel Edison Yocto. USB-камера в OpenCV

Подготовка образа (старый образ)

Приготовьте стандартный (или специальный с дополнительными пакетами) образ Edison’а используя Board Support Package и Startup Guide. Можете использовать оригинальный образ или настроить свой с дополнительными пакетами.

  • Entwickler
  • Partner
  • Professionell
  • Professoren
  • Studenten
  • Linux*
  • Yocto-Projekt
  • Internet der Dinge
  • C/C++
  • Experten
  • Anfänger
  • Fortgeschrittene
  • Intel® System Studio
  • Intel® Threading Building Blocks
  • Intel® Integrated-Performance-Primitives
  • Edison
  • Intel System Studio
  • IPP
  • tbb
  • OpenCV with IPP
  • Akademischer Bereich
  • Entwicklungstools
  • Bildungswesen
  • Firmware
  • Internet der Dinge
  • Optimierung
  • Parallel Computing
  • Threading
  • Number of workers


    I am using TBB for multithreading in a program where each workers needs to have access to a different ressource (Think of an object that can be read and mutated by the worker). To do that, I am creating a pool of resources in a std::vector

    Intel® Threading Building Blocks abonnieren