Intel® Threading Building Blocks

TBB 4.3 Update 6 does not seem to integrate with Visual Studio 2013

I just installed the TBB 4.3 Update 6 for Windows and selected integration with Visual Studio 2013 during the installation. Now, in VS 2013 the TBBIncludeDir and TBBLibDir macros are undefined for all configurations in my C++ project property pages.I then re-ran the TBB 4.3 Update 6 installer and selected Modify and it showed the Visual Studio 2013 integration as not being installed.

Graph with multiple roots, multiple leaves

Hello

How do we implement an acyclic dependency graph which has multiple roots and/or multiple leaves?

EG if we take the graph in  https://software.intel.com/en-us/node/506110  without link X0,1-X0,2 we get a tree with two roots.

If we remove link X2,0-X2,1 we get a tree with two leaves. 

What does the code for these two graphs look like?

Cheers

PH

Sample code for PROG_LED#, WDTO# of Intel NUC D34010WYB

As mentioned in the technical documentation of D34010wyb, Intel can provide sample code for programming the GPIOs PROG_LED# and WDTO# of the custom header solution.

Where can I get the codes. I need the code for both Windows and Linux(Ubuntu).

Thanks.

 

Compilation error while using tbb library

Hello ,
Warm greetings!

I am stuck at following compilation issue :

In file included from /usr/include/tbb/concurrent_hash_map.h:32:0,

                 from ../../../src/linkedlists/lockfree-list/BTO.h:10,
                 from ../../../src/linkedlists/lockfree-list/BTO.cpp:9,
                 from ../../../src/linkedlists/lockfree-list/intset.c:13:
/usr/include/tbb/tbb_stddef.h:121:56: fatal error: cstddef: No such file or directory
 #include <cstddef>      /* Need size_t and ptrdiff_t */

Initializing TLS for all threads in the scheduler

Hello, I'm a newbie experimenting with TBB for the first time. I want to set up an array in TLS for each thread in the TBB task scheduler so that I can later execute parallel_for across an array of objects that write events to the pre-allocated TLS. I've copied the approach to setting up the TLS from a demo application released by Intel some time ago (Intel Smoke demo), but I must be missing something because it works fine in their demo but not for me. 

Creating new partitioners

Hello,

It's been a while since I've been there...

I have the following question: does it make sense to create my own partitioner for the tbb::parallel_for? It does not seem as something encouraged...

My problem is as follows: I'm migrating my TBB-based code onto the MIC architecture.
There is a parallel_for loop and it would make sense to force some of the iterations to be executed on the same cores.
Simplifying the actual code, slightly, let us assume, we have an array:

<code>int L[N];</code>

core dump on Assertion failure

Hi,

I saw a core dump due to such assertion failure. I start having this failure after integrate some third party libraries into my system. I suspect that third-party library is using some native thread. But still it does not make sense to crash tbb.

I'm using Tbb on fedora20 x86-64.

Assertion block->checkFreePrecond(object) failed on line 2396 of file ../../src/tbbmalloc/frontend.cpp
Detailed description: Possible double free or heap corruption.

My question is: what does this failure mean?

 

Ubuntu 14.04 TBB Intel Parallel Studio compilervars.sh issue

Hello,

I have a problem considering adding tbb to system variables. I have succesfully installed Intel Parallel Studio and I wanted to compile the example applications with TBB. Therefore, I launched compilervars.sh script. After the launch, icc and cilk plus worked correctly (I do not change or quit the terminal in which the script was run)- however, when trying to launch tbb application,   when running make in /tbb/examples/GettingStarte/sub_string_finder, the following error occurs:

fatal error: tbb/parallel_for.h: No such file or directory

graph intermittently stalls with tbb::flow::async_node

It is either all or nothing.  

Running  tbb43_20150611oss/src/test/test_async_node.cpp  reproduce the issue.  Either the test will run to completion or will never complete.   When the worker thread calls async_try_put() it does not always wake up the next node connected to it.

platform: linux_armv7_gcc_cc4.8_libc2.19_kernel3.10.40_debug

tbb: tbb43_20150611oss

 

 

 

Подписаться на Intel® Threading Building Blocks