Home » U++ Library support » U++ MT-multithreading and servers » OpenMP
Re: OpenMP [message #30417 is a reply to message #30414] |
Wed, 29 December 2010 17:10 |
|
mirek wrote on Wed, 29 December 2010 15:40 | Quick peek at OpenMP - it looks like relying on pragmas to tell compiler how paralellize loops?
| Yes, but not only loop parallelization. It allows also to work with barriers, critical sections, thread local storage, ordered sections in parallel code, atomic operations, reduction, ...
There is also few functions to work with locking, timing and scheduling. Most of those can be found in U++, in some form.
Nice overview can be found in this PDF summary.
mirek wrote on Wed, 29 December 2010 15:40 | BTW, tried CoWork?
|
Yes, I tried it. It is a nice tool, but OpenMP lets you do slightly more in a little easier way. But the biggest difference IMHO is that OpenMP pragmas in code are much easier to read than the Cowork with its callbacks.
Honza
|
|
|
Goto Forum:
Current Time: Sun Jun 16 11:36:50 CEST 2024
Total time taken to generate the page: 0.02950 seconds
|