• DocumentCode
    1828063
  • Title

    Predicting Parallelization of Sequential Programs Using Supervised Learning

  • Author

    Fried, Daniel ; Zhen Li ; Jannesari, Abumoslem ; Wolf, Felix

  • Author_Institution
    Univ. of Arizona, Tucson, AZ, USA
  • Volume
    2
  • fYear
    2013
  • fDate
    4-7 Dec. 2013
  • Firstpage
    72
  • Lastpage
    77
  • Abstract
    We investigate an automatic method for classifying which regions of sequential programs could be parallelized, using dynamic features of the code collected at runtime. We train a supervised learning algorithm on versions of the NAS Parallel Benchmark (NPB) code hand-annotated with OpenMP parallelization directives in order to approximate the parallelization that might be produced by a human expert. A model comparison shows that support vector machines and decision trees have comparable performance on this classification problem, but boosting using AdaBoost is able to increase the performance of the decision trees. We further analyze the relative importance of the collected program features and demonstrate that within-loop instruction counts provide the greatest contribution to decision tree error reduction, with dependency graph features of secondary importance.
  • Keywords
    application program interfaces; decision trees; feature extraction; learning (artificial intelligence); parallel programming; pattern classification; program control structures; support vector machines; AdaBoost; NAS Parallel Benchmark code; NPB code; OpenMP parallelization directives; classification problem; decision tree error reduction; dependency graph features; dynamic features; program features; sequential program parallelization prediction; supervised learning algorithm training; support vector machines; within-loop instruction counts; Accuracy; Benchmark testing; Decision trees; Feature extraction; Support vector machines; Training;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Machine Learning and Applications (ICMLA), 2013 12th International Conference on
  • Conference_Location
    Miami, FL
  • Type

    conf

  • DOI
    10.1109/ICMLA.2013.108
  • Filename
    6786084