홈 > Term: parallel prefix computation
parallel prefix computation
Calculate an associative function, f, on all prefixes of an n-element array, that is, s(0), f(s(0), s(1)), f(s(0), f(s(1), s(2))), ..., f(s(0), f(s(1), ... f(s(n-2), s(n-1))...)), using Θ(n) processors in Θ(log n) time. The algorithm is
for j := 0 to lg(n)-1 dowhere lg is the logarithm base 2, and parallel-do does the innermost computations in parallel.
for i := 2j to n-1 parallel-do
s(i) := f(s(i-2j), s(i))
- 품사: noun
- 분야/도메인: 컴퓨터 과학
- 카테고리: Algorithms & data structures
- Government Agency: NIST
0
작성자
- GeorgeV
- 100% positive feedback