Skip to main content

Attribute Grammar Genetic Programming Algorithm for Automatic Code Parallelization

  • Conference paper
Convergence and Hybrid Information Technology (ICHIT 2011)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 6935))

Included in the following conference series:

Abstract

A method is presented for evolving individuals that use an Attribute Grammar (AG) in a generative way. AGs are considerably more flexible and powerful than the closed, context free grammars normally employed by GP. Rather than evolving derivation trees as in most approaches, we employ a two step process that first generates a vector of real numbers using standard GP, before using the vector to produce a parse tree. As the parse tree is being produced, the choices in the grammar depend on the attributes being input to the current node of the parse tree. The motivation is automatic parallelization or the discovery of a re-factoring of a sequential code or equivalent parallel code that satisfies certain performance gains when implemented on a target parallel computing platform such as a multicore processor. An illustrative and a computed example demonstrate this methodology.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. Koza, J.R.: Genetic Programming: On the Programming of Computers by Means of Natural Selection. MIT Press, Cambridge (1992)

    MATH  Google Scholar 

  2. Howard, D., Roberts, S.C.: Genetic Programming solution of the convection-diffusion equation. In: Spector, L., et al. (eds.) Proceedings of the Genetic and Evolutionary Computation Conference (GECCO 2001), pp. 34–41. Morgan Kaufmann, San Francisco (2001)

    Google Scholar 

  3. Baber, C., Stanton, N., Howard, D., Houghton, R.J.: Paper 15 - Predicting the Structure of Covert Networks using Genetic Programming, Cognitive Work Analysis and Social Network Analysis. Papers presented at the NATO RTO Modelling and Simulation Group Symposium held in Brussels, Belgium on October 15-16, 2009 (2009) ISBN 978-92-837-0100-2

    Google Scholar 

  4. Howard, D.: Bio-inspired simulation tool for PERT. In: Lee, G., et al. (eds.) Proceedings of the 2009 International Conference on Hybrid Information Technology, ICHIT 2009, Daejeon, Korea, August 27-29. ACM International Conference Proceeding Series, vol. 321, pp. 537–540. ACM, New York (2009) ISBN 978-1-60558-662-5

    Chapter  Google Scholar 

  5. Amdahl, G.: Validity of the Single Processor Approach to Achieving Large-Scale Computing Capabilities. In: AFIPS Conference Proceeding, vol. (30), pp. 483–485 (1967)

    Google Scholar 

  6. Ryan, C., Walsh, P.: Automatic conversion of programs from serial to parallel using Genetic Programming - The Paragen System. In: Proceedings of ParCo 1995. North-Holland, Amsterdam (1995)

    Google Scholar 

  7. Walsh, P., Ryan, C.: Paragen: A Novel Technique for the Autoparallelisation of Sequential Programs using Genetic Programming. In: Koza, J.R., et al. (eds.) Genetic Programming 1996: Proceedings of the First Annual Conference, pp. 406–409. Stanford University, MIT Press, CA, USA (1996)

    Google Scholar 

  8. Ryan, C., Laur, I.: Automatic Parallelization of Arbitrary Programs. In: Langdon, W.B., Fogarty, T.C., Nordin, P., Poli, R. (eds.) EuroGP 1999. LNCS, vol. 1598, pp. 244–254. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  9. Ryan, C., Laur, I.: Paragen - The first results. In: Poli, R., Banzhaf, W., Langdon, W.B., Miller, J., Nordin, P., Fogarty, T.C. (eds.) EuroGP 2000. LNCS, vol. 1802, pp. 338–348. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Howard, D., Ryan, C., Collins, J.J. (2011). Attribute Grammar Genetic Programming Algorithm for Automatic Code Parallelization. In: Lee, G., Howard, D., Ślęzak, D. (eds) Convergence and Hybrid Information Technology. ICHIT 2011. Lecture Notes in Computer Science, vol 6935. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-24082-9_31

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-24082-9_31

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-24081-2

  • Online ISBN: 978-3-642-24082-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics