tbb Questions
0
I am doing object detection in images using OpenCV library in Eclipse java. For this I need to create a .vec file using opencv_createsamples utility in command prompt but opencv_createsamples is no...
1
Solved
In the Intel thread building blocks framework, how does one ensure that all threads are not busy waiting for other threads to complete.
Consider for example the following code,
#include <tbb/...
Afrika asked 24/7, 2015 at 8:22
1
Solved
What is the best way to parallel three nested independent loops with tbb?
for(int i=0; i<100; i++){
for(int j=0; j<100; j++){
for(int k=0; k<100; k++){
printf("Hello World \n");
}
}
...
1
Solved
I downloaded the pre built headers and libraries for Intel TBB from Intel's TBB website. I updated ldconfig to add the tbb shared library to /usr/lib. However on compiling with -tbb the code using ...
0
I want to get TBB working, but I'm having a little difficulty getting the compiling to work on Ubuntu 14.04. I think it is likely a problem with setting the location of libraries for the compiler.
...
Valedictory asked 2/9, 2014 at 4:49
1
Solved
I want to execute a for-loop in parallel (using TBB) over a set of blocks, where each block will be processed using a user-supplied function. Normally, I would do this using tbb::parallel_for(). Fo...
Hodgson asked 21/8, 2014 at 15:57
3
I am not very good at data structures, so this might be very silly question. I am looking for a way to implement a hybrid behavior of queue + maps.
I am currently using tbb::concurrent_bounded_qu...
Deception asked 30/7, 2014 at 1:14
4
Does anyone have any tips for efficiently parallelizing std::partition using TBB? Has this been done already?
Here is what I'm thinking:
if the array is small, std::partition it (serial) and ret...
Disown asked 28/5, 2014 at 23:21
1
Solved
Is there a list of functions/methods of OpenCV that have been optimized with IPP and/or TBB and/or OpenMP?
3
Solved
I am trying to use tbb to multi-thread an existing recursive algorithm. The single-thread version uses tail-call recursion, structurally it looks something like this:
void my_func() {
my_recusive...
Thermit asked 24/5, 2014 at 13:31
1
Solved
My understanding is that tbb::concurrent_unordered_multimap should behave like std::unordered_multimap if I am using only one thread. However, in this example, it does not:
#include "tbb/concurren...
League asked 26/5, 2014 at 9:3
3
According to the documentation, an atomic supports T that is of an integral type,
enumeration type, or a pointer type. Does Intel TBB support floats/doubles officially?
I have seen some patches her...
2
I'm trying to build some tests for threading building blocks. Unfortunately, I'm unable to configure the tbb library. The linker cannot find the library tbb. I've tried running the scripts in bin d...
Satterlee asked 7/4, 2011 at 19:20
2
Solved
I have a simple question, can C++11 thread_local be used with other parallel models.
For example, can I use it within a function while using OpenMP or Intel TBB to parallel the tasks.
Most such p...
Maduro asked 27/1, 2014 at 4:27
2
Solved
I am trying to implement a fast object tracking app on Android
My logic is as follows
Remove all colours except the desired colour range.
Smooth image using GaussianBlur
Find largest radius Cir...
Khz asked 14/1, 2014 at 10:3
3
I need a fast inter-thread communication mechanism for passing work (void*) from TBB tasks to several workers which are in running/blocking operations.
Currently I'm looking into using pipe()+libev...
Abdu asked 8/3, 2010 at 6:58
1
Solved
I see that tbb::concurrent_unordered_map hews pretty close to std::unordered_map while being safe for concurrency. I also know that unsafe_erase is not concurrent-safe with insert etc. The iterator...
Weswesa asked 7/11, 2013 at 3:34
2
Solved
We are currently using a TBB flow graph in which a) a parallel filter processes an array (in parallel with offsets) and puts processed results into an intermediate vector (allocated on the heap; mo...
Eagleeyed asked 10/12, 2012 at 15:14
1
Solved
I recently downloaded TBB41_20130613 (current release for Windows at this time), and I noticed that there are folders for vc11 and vc11_ui bin/lib folders. As far as I can tell, both have the same ...
Latinism asked 29/6, 2013 at 9:29
1
Solved
How to install Opencv with TBB enabled?
I tried the following:
1) Downloaded the TBB package.
2) Build using the below command
mingw32-make compiler=gcc arch=ia32 runtime=mingw default
3) ...
2
Solved
although I have been playing with pthreads, OpenMP, intel TBB, and threading in general for a while I still don't understand what is the main difference between a message passing interface implemen...
Argyll asked 14/6, 2013 at 10:52
2
Solved
Order-preserving selection from an index table is trivial in serial code, but in multi-threading is less straightforward, in particular if one wants to retain efficiency (the whole point of multi-t...
Alcoholism asked 13/6, 2013 at 14:21
1
I'm trying to compile OpenCV libs with TBB support for odroid U2 (with Quad core ARM Cortex-A9 MPCore). I have no problem with compile current OpenCV (from github) without TBB. And also I have no p...
3
Solved
How does Intel TBB choose the number of threads to used for a parallel section?
Is there some kind of specification available?
Fino asked 24/9, 2010 at 11:5
8
Solved
I have an algorithm which converts a bayer image channel to RGB. In my implementation I have a single nested for loop which iterates over the bayer channel, calculates the rgb index from the bayer ...
Tillie asked 11/4, 2013 at 14:11
© 2022 - 2024 — McMap. All rights reserved.