Skip to main content

Index-Association Based Dependence Analysis and its Application in Automatic Parallelization

  • Conference paper
Languages and Compilers for Parallel Computing (LCPC 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2958))

  • 564 Accesses

Abstract

In this paper, we present a technique to perform dependence analysis on more complex array subscripts than the linear form of the enclosing loop indices. For such complex array subscripts, we decouple the original iteration space and the dependence test iteration space and link them through index-association functions. Dependence analysis is performed in the dependence test iteration space to determine whether the dependence exists in the original iteration space. The dependence distance in the original iteration space is determined by the distance in the dependence test iteration space and the property of index-association functions. For certain non-linear expressions, we show how to equivalently transform them to a set of linear expressions. The latter can be used in traditional dependence analysis techniques targeting subscripts which are linear forms of enclosing loop indices. We also show how our advanced dependence analysis technique can help parallelize some otherwise hard-to-parallelize loops.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Blume, W., Eigenmann, R.: Non-linear and symbolic data dependence testing. IEEE Transactions of Parallel and Distributed Systems 9(12), 1180–1194 (1998)

    Article  Google Scholar 

  2. Feautrier, P.: Dataflow analysis of array and scalar references. Journal of Parallel Programming 20(1), 23–53 (1991)

    Article  MATH  Google Scholar 

  3. Goff, G., Kennedy, K., Tseng, C.-W.: Practical dependence testing. In: Proceedings of the ACM SIGPLAN 1991 Conference on Programming Language Design and Implementation, Toronto, Ontario, Canada, June 1991, pp. 15–29 (1991)

    Google Scholar 

  4. Haghighat, M., Polychronopoulos, C.: Symbolic analysis for parallelizing compilers. ACM Transactions on Programming Languages and Systems 18(4), 477–518 (1996)

    Article  Google Scholar 

  5. Hoeflinger, J., Paek, Y.: The access region test. In: Carter, L., Ferrante, J. (eds.) LCPC 1999. LNCS, vol. 1863, p. 271. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  6. Maydan, D., Hennessy, J., Lam, M.: Efficient and exact data dependence analysis. In: Proceedings of ACM SIGPLAN Conference on Programming Language Design and Implementation, Toronto, Ontario, Canada, June 1991, pp. 1–14 (1991)

    Google Scholar 

  7. Moon, S., Hall, M.: Evaluation of predicated array data-flow analysis for automatic parallelization. In: Proceedings of ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, Atlanta, GA, May 1999, pp. 84–95 (1999)

    Google Scholar 

  8. Pugh, W.: A practical algorithm for exact array dependence analysis. Communications of the ACM 35(8), 102–114 (1992)

    Article  Google Scholar 

  9. Song, Y., Li, Z.: New tiling techniques to improve cache temporal locality. In: Proceedings of ACM SIGPLAN Conference on Programming Language Design and Implementation, Atlanta, GA, May 1999, pp. 215–228 (1999)

    Google Scholar 

  10. Standard Performance Evaluation Corporation. The SPEC CPU2000 benchmark suite, http://www.specbench.org

  11. Sun Microsystems, Inc., Sun ONE Studio 8 Compiler Collection, http://docs.sun.com

  12. Wolf, M.: Improving Locality and Parallelism in Nested Loops. PhD thesis, Department of Computer Science, Stanford University (August 1992)

    Google Scholar 

  13. Wolfe, M. (ed.): High Performance Compilers for Parallel Computing. Addison- Wesley Publishing Company, Reading (1995)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Song, Y., Kong, X. (2004). Index-Association Based Dependence Analysis and its Application in Automatic Parallelization. In: Rauchwerger, L. (eds) Languages and Compilers for Parallel Computing. LCPC 2003. Lecture Notes in Computer Science, vol 2958. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24644-2_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24644-2_15

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-21199-0

  • Online ISBN: 978-3-540-24644-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics