arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1611.00860cs.PL
收藏

HPVM:一个可移植的异构并行系统虚拟指令集

HPVM: A Portable Virtual Instruction Set for Heterogeneous Parallel Systems

Prakalp Srivastava, Maria Kotsifakou, Vikram Adve

摘要:

我们描述了一个编程抽象的异构并行硬件,旨在捕捉广泛的流行的并行硬件,包括GPU,向量指令集和多核CPU。我们的抽象,我们称之为HPVM,是一个分层的共享内存和向量指令的图。我们使用HPVM来定义虚拟指令集(ISA)和编译器中间表示(IR)。虚拟ISA旨在实现跨异构系统的功能可移植性和性能可移植性,而编译器IR旨在为此类系统启用有效的代码生成和优化。HPVM有效地支持用于实现计算加速的所有形式的并行(与并发相对),包括任务并行、粗粒度数据并行、细粒度数据并行和流水线并行。HPVM还实现了灵活的调度和平铺:可以将图中的不同节点灵活地映射到计算单元的不同组合,并且图层次结构表示内存平铺,这对于实现GPU和CPU目标的高性能至关重要。

英文摘要:

We describe a programming abstraction for heterogeneous parallel hardware, designed to capture a wide range of popular parallel hardware, including GPUs, vector instruction sets and multicore CPUs. Our abstraction, which we call HPVM, is a hierarchical dataflow graph with shared memory and vector instructions. We use HPVM to define both a virtual instruction set (ISA) and also a compiler intermediate representation (IR). The virtual ISA aims to achieve both functional portability and performance portability across heterogeneous systems, while the compiler IR aims to enable effective code generation and optimization for such systems. HPVM effectively supports all forms of parallelism used to achieve computational speedups (as opposed to concurrency), including task parallelism, coarse-grain data parallelism, fine-grain data parallelism, and pipelined parallelism. HPVM also enables flexible scheduling and tiling: different nodes in the dataflow graph can be mapped flexibly to different combinations of compute units, and the graph hierarchy expresses memory tiling, essential for achieving high performance on GPU and CPU targets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑