Performance Portability Across Heterogeneous SoCs Using a Generalized Library-Based Approach

Author:

Fang Shuangde1,Du Zidong1,Fang Yuntan1,Huang Yuanjie1,Chen Yang2,Eeckhout Lieven3,Temam Olivier4,Li Huawei5,Chen Yunji5,Wu Chengyong5

Affiliation:

1. SKL Computer Architecture, ICT, CAS, China; Graduate School, CAS, China

2. Microsoft Research, China

3. Ghent University, Belgium

4. INRIA, Saclay, France

5. SKL Computer Architecture, ICT, CAS, China

Abstract

Because of tight power and energy constraints, industry is progressively shifting toward heterogeneous system-on-chip (SoC) architectures composed of a mix of general-purpose cores along with a number of accelerators. However, such SoC architectures can be very challenging to efficiently program for the vast majority of programmers, due to numerous programming approaches and languages. Libraries, on the other hand, provide a simple way to let programmers take advantage of complex architectures, which does not require programmers to acquire new accelerator-specific or domain-specific languages. Increasingly, library-based, also called algorithm-centric, programming approaches propose to generalize the usage of libraries and to compose programs around these libraries, instead of using libraries as mere complements. In this article, we present a software framework for achieving performance portability by leveraging a generalized library-based approach. Inspired by the notion of a component, as employed in software engineering and HW/SW codesign, we advocate nonexpert programmers to write simple wrapper code around existing libraries to provide simple but necessary semantic information to the runtime. To achieve performance portability, the runtime employs machine learning (simulated annealing) to select the most appropriate accelerator and its parameters for a given algorithm. This selection factors in the possibly complex composition of algorithms used in the application, the communication among the various accelerators, and the tradeoff between different objectives (i.e., accuracy, performance, and energy). Using a set of benchmarks run on a real heterogeneous SoC composed of a multicore processor and a GPU, we show that the runtime overhead is fairly small at 5.1% for the GPU and 6.4% for the multi-core. We then apply our accelerator selection approach to a simulated SoC platform containing multiple inexact accelerators. We show that accelerator selection together with hardware parameter tuning achieves an average 46.2% energy reduction and a speedup of 2.1× while meeting the desired application error target.

Publisher

Association for Computing Machinery (ACM)

Subject

Hardware and Architecture,Information Systems,Software

Reference68 articles.

1. A. Agarwal M. Rinard S. Sidiroglou S. Misailovic and H. Hoffmann. 2009. Using Code Perforation to Improve Performance Reduce Energy Consumption and Respond to Failures. Technical Report. MIT. A. Agarwal M. Rinard S. Sidiroglou S. Misailovic and H. Hoffmann. 2009. Using Code Perforation to Improve Performance Reduce Energy Consumption and Respond to Failures. Technical Report. MIT.

2. Fuzzy Memoization for Floating-Point Multimedia Applications

3. A comparison of extrinsic clustering evaluation metrics based on formal constraints

4. PetaBricks

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

1. Exploiting Errors for Efficiency;ACM Computing Surveys;2021-05-31

2. mARGOt: A Dynamic Autotuning Framework for Self-Aware Approximate Computing;IEEE Transactions on Computers;2019-05-01

3. High-Performance Molecular Dynamics Simulation for Biological and Materials Sciences: Challenges of Performance Portability;2018 IEEE/ACM International Workshop on Performance, Portability and Productivity in HPC (P3HPC);2018-11

4. Proactive Control of Approximate Programs;ACM SIGARCH Computer Architecture News;2016-07-29

5. Proactive Control of Approximate Programs;ACM SIGPLAN Notices;2016-06-09

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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