ParameTrick: Coefficient Generalization for Faster Polyhedral Scheduling - Archive ouverte HAL
Communication Dans Un Congrès Année : 2024

ParameTrick: Coefficient Generalization for Faster Polyhedral Scheduling

ParameTrick: Coefficient Generalization for Faster Polyhedral Scheduling

Résumé

Polyhedral Schedulers have been widely used for loop optimization in general-purpose compilers and, more recently, deep-learning compilers. State-of-the-art scheduling algorithms define a vast space of loop transformations and find an optimal solution according to pre-designed cost functions. However, this Integer Linear Programming (ILP) approach can sometimes have complexity issues. The resolution time of ILP grows rapidly as the size of the problem increases. The complexity of the kernel to optimize, in terms of the number of statements, loops, and dependencies, has a significant impact on solving time. Additionally, the performance of ILP solvers can be severely impacted by big coefficients in the ILP, which mostly come from the loop bounds in the original kernel. To tackle this issue, this paper introduces a technique called "ParameTrick". This technique is used during the scheduling pipeline to replace some large coefficients with parameters, which are new variables in the ILP model. The approach is analyzed to determine its impact on the solving time, as well as the transformations that are lost and how to limit the number of unfeasible transformations. Results show that ParameTrick leads to faster solving times while the space of dropped desirable solutions is limited.
Fichier principal
Vignette du fichier
parametrick_impact-2024.pdf (464.42 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04466672 , version 1 (19-02-2024)

Identifiants

  • HAL Id : hal-04466672 , version 1

Citer

Gianpietro Consolaro, Harenome Razanajato, Nelson Lossing, Denis Barthou, Zhen Zhang, et al.. ParameTrick: Coefficient Generalization for Faster Polyhedral Scheduling. IMPACT 2024, 14th International Workshop on Poyhedral Compilation Techniques, Jan 2024, Munich, Germany. ⟨hal-04466672⟩
42 Consultations
81 Téléchargements

Partager

More