Hi all,
I am having some trouble in getting tbb setup. I have downloaded the src and lin file and extracted them. however the linux version (linux 2.6.18) I am using is not found in the lin (binary tar file).
I read a website which someone wrote and under it, it states that when running make, it will create the lib file for linux but it doesn't seem so.
Can anyone help me out by guiding me throught how to get tbb set up (starting from extracting the tar files)
Thanks
Regards,
Stanley
Intel® Threading Building Blocks
Problem Debugging in Visual Studio with TBB
I hope that this hasn't been covered elsewhere and I missed it, but I can't seem to solve the following problem:
I have a clean install of MS Visual Studio with MSVC 8, and I have TBB installed and all the environment variables set up (correctly, I think).
I can compile and run the sample TBB code, along with new test code I wrote. The problem is if I try to run code in the debugger. E.g., a simple F5 on some code that works perfectly in release mode gives me the following error:
Per Thread Init?
Hi,
is there a way to have a init function that is called for every thread the task scheduler creates? I am trying to use TBB with OpenSG which has something called aspects where each thread gets its own aspect. However, this also requires me to set the correct aspect for each thread to work with. Calling this in the operator() is not really an option since it causes massive slowdowns.
tbb20_014oss build examples crash MSVC 8.0 compiler
Hello,
I downloaded thetbb20_014oss source. Using Visual studio 2005 professional commandwindowand gnu Make from Cygwin distribution, the library and dll seem to build ok; However, the following examples crashed the ms c compiler during the release and debug build processes:
Count_strings.exe, Primes.exe, Parallel_PreOrder.exe, Text_filter.exe, Tree_sum.exe, and Fibonacci.exe.
Long
thread stack size
Is it possible to specify the stack size for the TBB threads? From looking at the source code this does not seem to be possible.
It is my experience that different platforms have different default stack sizes for threads started by pthread_create(). For example, the convex hull test cases don't run on IBM AIX unless I explicitly increase the thread stack size. It seems to me that an optional stack size argument inthe task_scheduler_init class would solve this issue. If no stack size is specified, the defaults are taken. Otherwise the user supplied value is used.
tbb::atomic<bool>?
Are atomic boolean values supported in tbb::atomic?
I have seen an old blog post that mentions this would be added (see here).
variable size two dimensional matrix multiplication
Could anyone show me how to implement two-dimensional matrix multiplication with variable size 2D arrays? The example illustrated in Intel TBB book uses fixed size arrays. Thanks!
Long
Pipelines: Merging two different buffers
Hi,
I am new to TBB and currently implemented a simpleTBB program using Pipeline. The I/P filter passes an integer array to the Transform filter which then performs an operation on the array and the O/P filter writes it out.
Cache affinity support for TBB
I've posted a blog on the future direction of cache affinity support for TBB at
http://softwareblogs.intel.com/2007/09/25/cache-affinity-support-for-tbb-2/ .
Bug in documentation?
I think there's a error in the tutorial document (http://cache-www.intel.com/cd/00/00/30/11/301132_301132.pdf). On page 57, it gives an example using recycling as a demonstration of how to sometimes avoid allocating other tasks, but then it goes and allocates all of the tasks anyway. I'm pretty sure that line 12 of that example, "FibTask& a = *new( c.allocate_child() ) FibTask(n-2,&c.x);", should be removed.
