Intel® Threading Building Blocks

Having issues compiling code of A Parallel Stable Sort Using C++11 TBB

Intel has already provided the source code for this. But I assume there is some issue with code in the file named "test.cpp" at line number 276 where it says.Severity Code Description Project File Line Suppression State  -> Error name followed by "::" must be a class or namespace name 

Here is the link to get the source code

https://software.intel.com/en-us/articles/a-parallel-stable-sort-using-c...

Can anyone help me fix this issue?

 

opencl_node (or streaming_node) with more outputs than inputs

Hi

Is there a way to make an opencl node (or custom streaming_node) which has more output ports than input ports.

I have tried, but I cannot seem to get the graph to execute, as it wants me to call try_put() on the output ports as well before executing.

I have this example, which doesn't work:

macOS* Systems

This section uses <install_dir> to indicate the top-level installation directory. The following table describes the subdirectory structure for macOS*, relative to <install_dir>.

Memory Allocation

Intel® Threading Building Blocks (Intel® TBB) provides several memory allocator templates that are similar to the STL template class std::allocator. Two templates, scalable_allocator<T> and cache_aligned_allocator<T>, address critical issues in parallel programming as follows:

Subscribe to Intel® Threading Building Blocks