正在加载图片...
G)Reduction Given an array of values reduce'' them to a single value in parallel Examples sum reduction: sum of all values in the array Max reduction: maximum of all values in the array Typically parallel implementation Recursively halve threads, add two values per thread Takes log(n) steps for n elements, requires n/2 threadsReduction 12
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有