Author_Institution :
Dept. of Comput. Sci., Rice Univ., Houston, TX, USA
Abstract :
In a hypercube multiprocessor with distributed memory, each data element has a street address and an apartment number (i.e. a hypercube node address and a local memory address). We describe an optimal algorithm for performing the all-to-some personalized communication (ASPC) on Boolean n-cubes, defined as (i|j)→(i±2j|j), i∈[0,2n-1], j∈[0,n-1], where (i|j) denote the data element on node i and location j. The algorithm also gives an optimal schedule for emulating PM2I networks on hypercubes under the binary-reflected Gray code encoding. We also study an important class of parallel algorithms, called ±2b-descend, which perform log M iterations on an M-element input a[O:M-1]. For b=log M-1,...,0, iteration b computes new values of each a[i] as a function of a[i], a[i+2b], a[i-2 b]. For large applications, the problem size M is typically much larger than the number of nodes N. We show that on hypercubes, the optimal ASPC algorithm devised in this paper can be used in combination with pipelining communication and computation in ±2b-descend computations to reduce the communication steps from 2.log N.M/N to 4(log M+M/N-1). At one communication step, a hypercube node can send n elements along its n links, one per link
Keywords :
Boolean functions; Gray codes; encoding; hypercube networks; parallel algorithms; Boolean n-cubes; PM2I networks; apartment number; binary-reflected Gray code encoding; distributed memory; hypercubes; optimal algorithm; optimal all-to-some personalized communication; optimal schedule; parallel algorithms; pipelining communication; street address; Computer science; Electronic switching systems; Genetic mutations; Hypercubes; Joining processes; Pipeline processing;