omp-tasking-reduction.cpp 

Downloading this file type (.cpp) can potentially harm your computer.

Comments (1)

Please wait...
Sorry, the comment you entered is too long. Please shorten it.
You didn't enter anything. Please try again.
Sorry, we can't add your comment right now. Please try again later.
To add a comment, you need permission from your parent. Ask for permission
Your parent has turned off comments.
Sorry, we can't delete your comment right now. Please try again later.
You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
Complete the security check below to finish leaving your comment.
The characters you type in the security check must match the characters in the picture or audio.
Christian Terboven has turned off comments on this page.
The idea of this example is pretty simple: Each element of a self-defined dynamic linked list should be summed up to compute the global sum. This is not directly possible using Worksharing-constructs of OpenMP 2.5, as the number of list elements is unknown and thus the for-construct cannot be applied.
As the task-construct of OpenMP 3.0 does not support reduction-style operations, some additional work is required to compute the global sum. Serveral approaches will be discussed here ...
Aug. 15
2 of 3

Information

Added by:
Shared with:
Everyone (public)
Type:
CPP File
Size:
6.4 KB
Date added:
8/15/2008 7:52 PM GMT
Web address:
Embed: