Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

task_group_context undefined

ROBERT_D_Intel1
Employee
506 Views
This is a sharp edge in TBB that people will cut their fingers on: task_group_context undefined. It took about half an hour to figure this out and I am writing here to suggest that someone take the time to find a better way to inform people when they hit this problem. This occurs when you have failed to turn on C++ Exception Handling.

To fix: Options/C++/Code Generation and turn on C++ Exception Handling.

Hope this helps someone.

Bob Davies
0 Kudos
1 Reply
Alexey-Kukanov
Employee
506 Views
Bob, I recommend you to switch to TBB 2.2 (or to the latest Parallel Composer update). Turning on exception handling is a good idea, but also there was a related bug in TBB that we fixed.
0 Kudos
Reply