IDEAS home Printed from https://ideas.repec.org/a/hin/jnlmpe/6643604.html
   My bibliography  Save this article

Loop Selection for Multilevel Nested Loops Using a Genetic Algorithm

Author

Listed:
  • Kai Nie
  • Qinglei Zhou
  • Hong Qian
  • Jianmin Pang
  • Jinlong Xu
  • Xiyan Li

Abstract

Loop selection for multilevel nested loops is a very difficult problem, for which solutions through the underlying hardware-based loop selection techniques and the traditional software-based static compilation techniques are ineffective. A genetic algorithm- (GA-) based method is proposed in this study to solve this problem. First, the formal specification and mathematical model of the loop selection problem are presented; then, the overall framework for the GA to solve the problem is designed based on the mathematical model; finally, we provide the chromosome representation method and fitness function calculation method, the initial population generation algorithm and chromosome improvement methods, the specific implementation methods of genetic operators (crossover, mutation, and selection), the offspring population generation method, and the GA stopping criterion during the GA operation process. Experimental tests with the SPEC2006 and NPB3.3.1 standard test sets were performed on the Sunway TaihuLight supercomputer. The test results indicated that the proposed method can achieve a speedup improvement that is superior to that by the current mainstream methods, which confirm the effectiveness of the proposed method. Solving the loop selection problem of multilevel nested loops is of great practical significance for exploiting the parallelism of general scientific computing programs and for giving full play to the performance of multicore processors.

Suggested Citation

  • Kai Nie & Qinglei Zhou & Hong Qian & Jianmin Pang & Jinlong Xu & Xiyan Li, 2021. "Loop Selection for Multilevel Nested Loops Using a Genetic Algorithm," Mathematical Problems in Engineering, Hindawi, vol. 2021, pages 1-18, April.
  • Handle: RePEc:hin:jnlmpe:6643604
    DOI: 10.1155/2021/6643604
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/MPE/2021/6643604.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/MPE/2021/6643604.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/2021/6643604?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hin:jnlmpe:6643604. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.