Quantcast
Channel: Intel® oneAPI Threading Building Blocks & Intel® Threading Building Blocks
Browsing index pages (702 articles)

Mixing TBB loops and PPL data structures

Hi all, is it possible to do mix, say, a TBB::parallel_for loop and the concurrent_* data structures from Microsoft's PPL?

View Article


Is TBB 2020 binary Compatible to 2019

I know that TBB 2020 deprecates a bunch of API in favor of standard C++ etc.  My question is despite this deprecation, are binaries built with TBB 2019 Update 6 (for example) able to run on TBB 2020 or...

View Article


Unexpected task_group behavior

I'm using elementary task_group functionality but am seeing unexpected behavior which is turning out to be problematic.To summarize, here is a code snippet:// This function is executed on the main...

View Article

TBB compile error: iterators.h(246)

 (4):1>C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.1.216\windows\tbb\include\tbb/iterators.h(246): error : namespace "std" has no member "result_of"  (8):1>C:\Program Files...

View Article

Does not build with C++20

Can not build with clang-10 using -std=c++20A fix exist in this PR https://github.com/oneapi-src/oneTBB/pull/251

View Article


warning C4296: '>': expression is always false

Hi,Our application treats warning as error.We are seeing below warning on windows with Visual Studio 2017 after upgrading to TBB 2020.  It's coming from tbb "concurrent_unordered_set.h" header.Below...

View Article

Enqueued tasks never gets picked up.

I have the following patternparallel_for (blocked_range(0 , max),  [ ] (r) {for (size_t i = r.begin(); i != r.end(); ++i) {         ctx[i]  = make_unique<tbb::task_group_context>();...

View Article

Waiting for multiple communicating graphs executed in different arenas

Hello Community,A) Problem Description:I'm trying to build an application using multiple flow_graphs which are communicating with each other via try_put messages. Every graph should be executed in a...

View Article


From Cilk to Intel TBB

Hi I am big fan of Cilk but it is dead. So now I want to use TBB instead. (So I am new to TBB)I rely on the function __cilkrts_get_worker_number() Therefore, I created a global arena  as follows...

View Article


Pipeline parallelism in TBB flow graph

Hello,I am working on an image processing application which is built with tbb::flow_graph.The input comes from a video file or a camera.Each image processing node is wrapped in a multifunction_node (I...

View Article

set initial capacity of concurrent_hash_map

Does anybody knows of a concrete example for setting the initial capacity on the concurrrent_hash_map? I found recommendations of doing this to improve performance  but looking at the members of the...

View Article

Thread local storage data structure constructed preliminarily is assigned per...

Dear TBB experts, Relating to my previous post, "Thread ID as index from zero to thread number",I would like to prepare some data pool, cache data, per each thread (or task?) in RAII (construction)...

View Article

Thread ID as index from zero to thread number

Dear TBB experts, I am now thinking of parallel efficient algorithm by using TBB.Thus, I would like to prepare some pool data (std::vector container) per each thread in RAII phase,and make each thread...

View Article


Compiling with TBB is causing errors

Windows 10 Version 1909tbb-2020.1-win9.20GCCHello, I am trying to compile a TBB program with G++ that I can get to compile in VS, so I know that TBB is installed correctly. My tbb folder is in C:\This...

View Article

Nondeterministic processing order for function node with queueing policy

When a function node with queueing policy is used, and it receives the input faster than it can handle, the next job it process can be from the input even if the internal buffer isn't empty.For...

View Article


PDF Documentation?

Hello,I am searching the pdf documentation (developer reference/guide) of TBB, but could only find the HTML/web version, while most of the other components of Parallel Studio (compilers, MKL, DAAL,...

View Article

VS upgrades, OpenCL, System Studio 2020, flow_graph_opencl_node.h

Hi,I'm working on the simplest example of an OpenCL flow graph. Compiling fails when looking for async_msg, even with the calls to anything OpenCL are commented out.#define TBB_PREVIEW_FLOW_GRAPH_NODES...

View Article


Repository change on Github

Hi!I would like to know why the Github repository has been changed from https://github.com/intel/tbb to https://github.com/oneapi-src/oneTBB.Also, the check for v2020.0 does not match between the new...

View Article

How can I specify one-thread, multitple-chunks for debugging?

I've got some crashes that I think are simply due to changes refactoring my code into multiple chunks. How can I run a TBB application where multiple chunks are created but only a single thread is...

View Article

How can I determine if there are any active tasks?

I have some code that I need to put a mutex into. This code is called both from TBB code and non-TBB code so I don't want to take out the lock if I don't have to. I can't tell how to determine if the...

View Article
Browsing index pages (702 articles)


Latest Images