Skip to main content
Log in

Multiple Addition and Prefix Sum on a Linear Array with a Reconfigurable Pipelined Bus System

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

We present several fast algorithms for multiple addition and prefix sum on the Linear Array with a Reconfigurable Pipelined Bus System (LARPBS), a recently proposed architecture based on optical buses. Our algorithm for adding N integers runs on an N log M-processor LARPBS in O(log* N) time, where log* N is the number of times logarithm has to be taken to reduce N below 1 and M is the largest integer in the input. Our addition algorithm improves the time complexity of several matrix multiplication algorithms proposed by Li, Pan and Zheng (IEEE Trans. Parallel and Distributed Systems, 9(8):705–720, 1998). We also present several fast algorithms for computing prefix sums of N integers on the LARPBS. For integers with bounded magnitude, our first algorithm for prefix sum computation runs in O(log log N) time using N processors and in O(1) time using N 1+ε processors, for \(\frac{1}{3}\) ≤ ε < 1. For integers with unbounded magnitude, the first algorithm for multiple addition runs in O(log log N log* N) time using N log M processors, when M is the largest integer in the input. Our second algorithm for multiple addition runs in O(log* N) time using N 1+ε log M processors, for \(\frac{1}{3}\) ≤ ε < 1. We also show suitable extensions of our algorithm for real numbers.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. G. E. Blelloch. Prefix sums and their applications. In J. H. Reif, Ed., Synthesis of Parallel Algorithms. Morgan Kaufmann, San Mateo, California, pp. 35–60, 1993.

    Google Scholar 

  2. Y. Ben-Asher, D. Peleg, R. Ramaswami, and A. Schuster. The power of reconfiguration. J. of Parallel and Distributed Computing, 13(2):139–153, 1991.

    Google Scholar 

  3. D. Chiarulli, R. Melhem, and S. Levitan. Using coincident optical pulses for parallel memory addressing. IEEE Trans. Computer, 20(12):48–58, 1987.

    Google Scholar 

  4. A. Datta. Efficient graph-theoretic algorithms on a linear array with a reconfigurable pipelined bus system. Journal of Supercomputing, 23:193–211, 2002.

    Google Scholar 

  5. A. Datta, S. Soundaralakshmi, and R. Owens. Fast sorting algorithms on a linear array with a reconfigurable pipelined bus system. IEEE Trans. Parallel and Distributed Systems, 13(3):212–222, 2002.

    Google Scholar 

  6. H. ElGindy and S. Rajasekaran. Sorting and selection algorithms on a linear array with optical bus system. Parallel Processing Letter, 9(3):373–383. 1999.

    Google Scholar 

  7. Y. Han, Y. Pan, and H. Shen. Sublogarithmic deterministic selection on arrays with a reconfigurable optical bus. IEEE Transactions on Computers, 51(6):702–707, 2002.

    Google Scholar 

  8. IEEE. Standard 754, Order No. CN-953, Los Alamitos, California, IEEE Computer Society Press, 1985.

    Google Scholar 

  9. J. JáJá. An Introduction to Parallel Algorithms. Addison-Wesley, 1992.

  10. K. Li and V. Y. Pan. Parallel matrix multiplication on a linear array with a reconfigurable pipelined bus system. Proc. 13th International Parallel Processing Symposium and 10th Symposium on Parallel and Distributed Processing, IEEE Computer Society, pp. 31–35.

  11. K. Li, Y. Pan, and M. Hamdi. Solving graph theory problems using reconfigurable pipelined optical buses. Parallel Computing, 26:723–735, 2000.

    Google Scholar 

  12. J. Li, Y. Pan, and H. Shen. More efficient topological sort using reconfigurable optical buses. Journal of Supercomputing, 24:251–258, 2003.

    Google Scholar 

  13. K. Li, Y. Pan, and S. Q. Zheng. Fast and processor efficient parallel matrix multiplication algorithms on a linear array with a reconfigurable pipelined bus system. IEEE Trans. Parallel and Distributed Systems, 9(8):705–720, 1998.

    Google Scholar 

  14. K. Li, Y. Pan, and S. Q. Zheng. Efficient deterministic and probabilistic simulations of PRAMs on linear arrays with reconfigurable pipelined bus systems. Journal of Supercomputing, 15:163–181, 2000.

    Google Scholar 

  15. R. G. Melhem, D. M. Chiarulli, and S. P. Levitan. Space multiplexing ofwaveguides in optically interconnected multiprocessor systems. Computer Journal, 32(4):362–369, 1989.

    Google Scholar 

  16. R. Miller, V. K. Prasanna-Kumar, D. Reisis, and Q. F. Stout. Meshes with reconfigurable buses. IEEE Trans. Computers, 42:678–692, 1993.

    Google Scholar 

  17. S. Pavel and S. G. Akl. Integer sorting and routing in arrays with reconfigurable optical buses. International Journal of Foundations of Computer Science, Special issue on Interconnection Networks, 9(1):99–120, 1998.

    Google Scholar 

  18. S. Pavel and S. G. Akl. Area-time tradeoffs in arrays with optical pipelined buses. Applied Optics, 35(11):1827–1835, 1996.

    Google Scholar 

  19. S. Pavel and S. G. Akl. Matrix operations using arrays with reconfigurable optical buses. Parallel Algorithms and Applications, 8:223–242, 1996.

    Google Scholar 

  20. S. Pavel and S. G. Akl. Integer sorting and routing in arrays with reconfigurable optical buses. Proc. International Conference on Parallel Processing, Vol. II, 1996, pp. 90–94.

    Google Scholar 

  21. S. Pavel and S. G. Akl. On the power of arrays with reconfigurable optical buses. Proc. International Conference on Parallel and Distributed Processing Techniques and Applications, 1996, pp. 1443–1454.

  22. S. Pavel and S. G. Akl. Computing the Hough transform on arrays with reconfigurable optical buses. In K. Li, Y. Pan and S.-Q. Zheng eds., Parallel Computing Using Optical Interconnects, Kluwer Academic Publishers, 1998, pp. 205–226.

  23. Y. Pan and K. Li. Linear array with a reconfigurable pipelined bus system—concepts and applications. Information Sciences, 106:237–258, 1998.

    Google Scholar 

  24. S. Rajasekaran and S. Sahni. Deterministic routing on the array with reconfigurable optical buses. Parallel Processing Letters, 7(3):219–224, 1997.

    Google Scholar 

  25. S. Rajasekaran and S. Sahni. Sorting, selection and routing on the array with reconfigurable optical buses. IEEE Transactions on Parallel and Distributed Systems, 8(11):1123–1131, 1997.

    Google Scholar 

  26. S. Sahni. Models and algorithms for optical and optoelectronic parallel computers. International Journal of Foundations of Computer Science, 12(3):249–264, 2001.

    Google Scholar 

  27. U. Vishkin.Advanced parallel prefix-sums, list ranking and connectivity. In J.H. Reif Ed. Synthesis of Parallel Algorithms. Morgan Kaufmann, San Mateo, CA, pp. 215–257.

Download references

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Datta, A. Multiple Addition and Prefix Sum on a Linear Array with a Reconfigurable Pipelined Bus System. The Journal of Supercomputing 29, 303–317 (2004). https://doi.org/10.1023/B:SUPE.0000032783.66123.63

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/B:SUPE.0000032783.66123.63

Navigation