High Performance Computing by Charles Severance; Kevin Dowd

High Performance Computing by Charles Severance; Kevin Dowd

Author:Charles Severance; Kevin Dowd
Language: eng
Format: mobi
ISBN: 9781565923126
Publisher: O'Reilly
Published: 1993-01-02T00:00:00+00:00


Again, this is not precisely the same computation, but all four partial sums can be computed independently. The partial sums are combined at the end of the loop.

Loops that look for the maximum or minimum elements in an array, or multiply all the elements of an array, are also reductions. Likewise, some of these can be reorganized into partial results, as with the sum, to expose more computations. Note that the maximum and minimum are associative operators, so the results of the reorganized loop are identical to the sequential loop.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.