Fusion: Practice and Applications
  FPA
  2692-4048
  2770-0070
  
   10.54216/FPA
   https://www.americaspg.com/journals/show/2627
  
 
 
  
   2018
  
  
   2018
  
 
 
  
   Predicting Loop Vectorization through Machine Learning Algorithms
  
  
   Department of Computer Science, Collage of science for women University of Babylon, Iraq
   
    Esraa
    Esraa
   
  
  
   Automatic vectorization is often utilized to improve the speed of compute-intensive programs on current CPUs. However, there is enormous space for improvement in present compiler auto-vectorization capabilities. Execution with optimizing code on these resource-controlled strategies is essential for both energy and performance efficiency. While vectorization suggests major performance developments, conventional compiler auto-vectorization techniques often fail. This study investigated the prospective of machine learning algorithms to enhance vectorization. The study proposes an ensemble learning method by employing Random Forest (RF), Feedforward Neural Network (FNN), and Support Vector Machine (SVM) algorithms to estimate the effectiveness of vectorization over Trimaran Single-Value Code (TSVC) loops. Unlike existing methods that depend on static program features, we leverage dynamic features removed from hardware counter-events to build efficient and robust machine learning models. Our approach aims to improve the performance of e-business microcontroller platforms while identifying profitable vectorization opportunities. We assess our method using a benchmark group of 155 loops with two commonly used compilers (GCC and Clang). The results demonstrated high accuracy in predicting vectorization benefits in e-business applications.
  
  
   2024
  
  
   2024
  
  
   36
   45
  
  
   10.54216/FPA.150203
   https://www.americaspg.com/articleinfo/3/show/2627