70 likes | 221 Vues
Pen-Chung Yew Institute of Information Science Academia Sinica. Challenges. As no. of cores, size of on-chip mem, bandwidth on/off chip, and programming models keep changing, users must keep porting/tuning their code/algms
E N D
Pen-Chung Yew Institute of Information Science Academia Sinica
Challenges • As no. of cores, size of on-chip mem, bandwidth on/off chip, and programming models keep changing, users must keep porting/tuning their code/algms • Users/Programmers who are domain experts must be part of the equation to get good performance on today’s and future many-core systems. • Past experiences show parallelizing compilers cannot carry the weight alone • Challenge: how to make compiler/user a better team to work together?
Current Practice • Most compilers assume users are naïve users, most users/programmers consider compiler as a black box • It takes little input from the users • It gives very little feedback to the users • It has zillions of very specific opt tricks with zillions of flags – needs machine learning to use them!!!! • Users have very little control on what compiler does • Users have no knowledge of what has been done to their programs
Opportunities • New and better interface for users to direct what compiler does, and better feedback from compilers to aid users to improve their code • Recommendations (very preliminary list) • Better categorization of all compiler opt tricks • Better localization/control of applying opts by users • Better info about what has been done to programs – list of opts, where, how, in what order, and more…. • More readable output after opt/trans for each step • Many others... -> take compiler out of black box !!
Recommendation WHITEBOXizING/Glassboxizing (?) Compilers!!