Static placement of computation on heterogeneous devices

Author:

Poesia Gabriel1,Guimarães Breno1,Ferracioli Fabrício2,Pereira Fernando Magno Quintão1

Affiliation:

1. Federal University of Minas Gerais, Brazil

2. LG Electronics, Brazil

Abstract

Heterogeneous architectures characterize today hardware ranging from super-computers to smartphones. However, in spite of this importance, programming such systems is still challenging. In particular, it is challenging to map computations to the different processors of a heterogeneous device. In this paper, we provide a static analysis that mitigates this problem. Our contributions are two-fold: first, we provide a semi-context-sensitive algorithm, which analyzes the program's call graph to determine the best processor for each calling context. This algorithm is parameterized by a cost model, which takes into consideration processor's characteristics and data transfer time. Second, we show how to use simulated annealing to calibrate this cost model for a given heterogeneous architecture. We have used our ideas to build Etino, a tool that annotates C programs with OpenACC or OpenMP 4.0 directives. Etino generates code for a CPU-GPU architecture without user intervention. Experiments on classic benchmarks reveal speedups of up to 75x. Moreover, our calibration process lets avoid slowdowns of up to 720x which trivial parallelization approaches would yield.

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference61 articles.

1. Alfred V. Aho Monica S. Lam Ravi Sethi and Jeffrey D. Ullman. 2006. Compilers: Principles Techniques and Tools (2nd Edition). Addison Wesley Boston MA USA. Alfred V. Aho Monica S. Lam Ravi Sethi and Jeffrey D. Ullman. 2006. Compilers: Principles Techniques and Tools (2nd Edition). Addison Wesley Boston MA USA.

2. Runtime pointer disambiguation

3. M. Amini C. Ancourt F. Coelho B. Creusillet S. Guelton F. Irigoin P. Jouvelot R. Keryell and P. Villalon. 2012. PIPS Is not (only) Polyhedral Software. Technical Report. IMPACT. M. Amini C. Ancourt F. Coelho B. Creusillet S. Guelton F. Irigoin P. Jouvelot R. Keryell and P. Villalon. 2012. PIPS Is not (only) Polyhedral Software. Technical Report. IMPACT.

4. A view of cloud computing

5. StarPU: a unified platform for task scheduling on heterogeneous multicore architectures

Cited by 11 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Automated Mapping of Task-Based Programs onto Distributed and Heterogeneous Machines;Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis;2023-11-11

2. OpenMP Advisor: A Compiler Tool for Heterogeneous Architectures;OpenMP: Advanced Task-Based, Device and Compiler Programming;2023

3. COMPOFF: A Compiler Cost model using Machine Learning to predict the Cost of OpenMP Offloading;2022 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW);2022-05

4. ANGHABENCH: A Suite with One Million Compilable C Benchmarks for Code-Size Reduction;2021 IEEE/ACM International Symposium on Code Generation and Optimization (CGO);2021-02-27

5. Type Inference for C;ACM Transactions on Programming Languages and Systems;2020-12

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3