Intel® Threading Building Blocks

a question to start using TBB

Hello, I am new to TBB and also newhere.


I have to post questions for a beginning stage. I cannot compile programs with TBB, describe it below:


- Download theStable Release of TBB, tbb20_014oss, then untar the two files. "tbb20_20070927oss_src" and "tbb20_20070927oss_win" two foldersare created at "c:".


- Copy "c: bb20_20070927oss_winia32vc8" to "c: bb20_20070927oss_src".

Developing a TBB Memory Pool

Hey,

Memory has become a bottleneck in YetiSim execution (in particular the use of boost::shared_ptr), and I've decided to deal with it now rather than later. The strategy that I've decided upon is to implement a singleton MemoryManager class, which is responsible for allocation / deallocation of all objects. This is fine for a simulator, and rather custom to my project.

TBB build on ia64

Hi,When i tried building TBB on ia64 system, i was facing an issue with ias assembler. This assembler is not available in the system. So i changed the assembler to "as" instead of "ias" inside the file build/linux.gcc.inc.Because the "as" assembler is available in my system and "ias" is not available. It is working now and i am able to compile and build the TBB code. Please let me know, if anything is wrong here.

-Thiru

"note_affinity" link error, please help?

I download the TBB each version, and add them to VS2005.


Using concurrent_queue concurrent_hash_map is ok.


But when I use parallel_for, then get a link error!


error LNK2001: unresolved external symbol "public: virtual void __thiscall tbb::task::note_affinity(unsigned short)" (?note_affinity@task@tbb@@UAEXG@Z)


Could some one to tell me how to resolve it.


Thanks very much!

Building TBB on the Sony Playstation or the IBM Cell BE platform

Has anyone built the TBB on the Playstation? Anything I should be particularly mindful of? This is just for threading on the PPE which is a PowerPC.I am thinking that if you can get it to build on thePowerPC Mac, it should build just fine on the playstation. I am running YDL (or FC6) on the PS3.


I have no problems building the Boost Thread library on the playstation in the past.


Thanks,


sanjeev


Question on tick_count

Hello all,

Browsing through tick_count.h, I was wondering why clock_gettime is called with CLOCK_REALTIME instead of CLOCK_REALTIME_HR. Since I have no experience with this call, this is probably a newbie question.

Additionally, I was wondering what the actual relationship between tick_count and the actual CPU tick counters is, since tick_count uses different timing calls for different cases/OSes.

basic error when making with gcc

I get the following error for all TBB versions when making with gcc 4.1.1 on RedHat 4.4 for x86-64:

gmake[1]: Entering directory `/opt/TBB/tbb20_014oss_src/build/linux_em64t_gcc_cc4.1.1_libc2.3.4_kernel2.6.9_release'
../../build/Makefile.tbb:38: CONFIG: cfg=release arch=em64t compiler=gcc os=linux runtime=cc4.1.1_libc2.3.4_kernel2.6.9
sh ../../build/generate_tbbvars.sh

Páginas

Suscribirse a Intel® Threading Building Blocks