Community
cancel
Showing results for 
Search instead for 
Did you mean: 
yingemmachen
Beginner
87 Views

CPU Usage not improved

Hi,

I used parallel_for in my visual c++ program. When I ran the program, the windows task manager showed that the total threads increased while the CPU usage did not change much (still about 15%).

Do you have any suggestion why this happens? My pc has intel core i7 CPU.

thanks,

Ying
0 Kudos
4 Replies
TimP
Black Belt
87 Views

As you are using TBB, you would probably get more expert help on that forum than here.
yingemmachen
Beginner
87 Views

Thanks. I am new here. Could you please tell me what forum I should post questions about TBB?
TimP
Black Belt
87 Views

87 Views

You should take a look at this example :

http://msdn.microsoft.com/en-us/library/dd728073.aspx

It is a matrix multiplication. It says that that the function to be parallelized is of crucial importance in load balancing. Make some examples of your own.

Edit : Well PPL is also a joint work with Intel. Ok. Next time it would be great specifying the version of VS you are using. Cheers.
Reply