[OMP] Threadprivate common dramatically decrease performance

jimdempseyatthecove
Total Points:
36,457
Status Points:
36,457
Black Belt
July 6, 2009 9:50 AM PDT
Rate
 
#4 Reply to #2
Quoting - tim18
You would expect to pay the cost of copying data in and out of threadprivate at the beginning and end of each parallel region, which could be substantially more than the bare allocation cost.  I don't know how the out-dated compiler would affect this, except that it doesn't include the current version of OpenMP library.

Tim,

The shared (local) data (scalars or descriptor) would be copied (as hidden dummy arguments) but the threadprivate data persists (no copying required).

Jim

--------

Blog: The Parallel Void


www.quickthreadprogramming.com


Intel Software Network Forums Statistics

8491 users have contributed to 31629 threads and 100767 posts to date.
In the past 24 hours, we have 30 new thread(s) 136 new posts(s), and 192 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to Crash when loading skeleton The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member shadowwolf99