HPVM

Author:

Kotsifakou Maria1,Srivastava Prakalp1,Sinclair Matthew D.1,Komuravelli Rakesh2,Adve Vikram1,Adve Sarita1

Affiliation:

1. University of Illinois at Urbana-Champaign

2. Qualcomm Technologies Inc.

Abstract

We propose a parallel program representation for heterogeneous systems, designed to enable performance portability across a wide range of popular parallel hardware, including GPUs, vector instruction sets, multicore CPUs and potentially FPGAs. Our representation, which we call HPVM, is a hierarchical dataflow graph with shared memory and vector instructions. HPVM supports three important capabilities for programming heterogeneous systems: a compiler intermediate representation (IR), a virtual instruction set (ISA), and a basis for runtime scheduling; previous systems focus on only one of these capabilities. As a compiler IR, HPVM aims to enable effective code generation and optimization for heterogeneous systems. As a virtual ISA, it can be used to ship executable programs, in order to achieve both functional portability and performance portability across such systems. At runtime, HPVM enables flexible scheduling policies, both through the graph structure and the ability to compile individual nodes in a program to any of the target devices on a system. We have implemented a prototype HPVM system, defining the HPVM IR as an extension of the LLVM compiler IR, compiler optimizations that operate directly on HPVM graphs, and code generators that translate the virtual ISA to NVIDIA GPUs, Intel's AVX vector units, and to multicore X86-64 processors. Experimental results show that HPVM optimizations achieve significant performance improvements, HPVM translators achieve performance competitive with manually developed OpenCL code for both GPUs and vector hardware, and that runtime scheduling policies can make use of both program and runtime information to exploit the flexible compilation capabilities. Overall, we conclude that the HPVM representation is a promising basis for achieving performance portability and for implementing parallelizing compilers for heterogeneous parallel systems.

Funder

MARCO

National Science Foundation

DARPA

SRC STARNet C-FAR

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference38 articles.

1. R. Allen and K. Kennedy. 2002. Optimizing Compilers for Modern Architectures. Morgan Kaufmann Publishers Inc. San Francisco CA. R. Allen and K. Kennedy. 2002. Optimizing Compilers for Modern Architectures. Morgan Kaufmann Publishers Inc. San Francisco CA.

2. Jason Ansel Cy Chan Yee Lok Wong Marek Olszewski Qin Zhao Alan Edelman and Saman Amarasinghe. 2009. PetaBricks: A Language and Compiler for Algorithmic Choice (PLDI). 10.1145/1542476.1542481 Jason Ansel Cy Chan Yee Lok Wong Marek Olszewski Qin Zhao Alan Edelman and Saman Amarasinghe. 2009. PetaBricks: A Language and Compiler for Algorithmic Choice (PLDI). 10.1145/1542476.1542481

3. E. A. Ashcroft and W. W. Wadge. 1977. Lucid a Nonprocedural Language with Iteration. Commun. ACM (1977). 10.1145/359636.359715 E. A. Ashcroft and W. W. Wadge. 1977. Lucid a Nonprocedural Language with Iteration. Commun. ACM (1977). 10.1145/359636.359715

4. CÃl'dric Augonnet Samuel Thibault Raymond Namyst and Pierre-AndrÃl' Wacrenier. 2011. StarPU: A Unified Platform for Task Scheduling on Heterogeneous Multicore Architectures. Concurrency and Computation: Practice and Experience (2011). 10.1002/cpe.1631 CÃl'dric Augonnet Samuel Thibault Raymond Namyst and Pierre-AndrÃl' Wacrenier. 2011. StarPU: A Unified Platform for Task Scheduling on Heterogeneous Multicore Architectures. Concurrency and Computation: Practice and Experience (2011). 10.1002/cpe.1631

5. PENCIL: A Platform-Neutral Compute Intermediate Language for Accelerator Programming

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

1. IRIS: A Performance-Portable Framework for Cross-Platform Heterogeneous Computing;IEEE Transactions on Parallel and Distributed Systems;2024-10

2. Mobiprox: Supporting Dynamic Approximate Computing on Mobiles;IEEE Internet of Things Journal;2024-05-01

3. Representing Data Collections in an SSA Form;2024 IEEE/ACM International Symposium on Code Generation and Optimization (CGO);2024-03-02

4. Domain-Specific STT-MRAM-Based In-Memory Computing: A Survey;IEEE Access;2024

5. Trireme: Exploration of Hierarchical Multi-level Parallelism for Hardware Acceleration;ACM Transactions on Embedded Computing Systems;2023-04-20

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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