首页> 外文会议>ACM SIGPLAN conference on programming language design and implementation >Compiling a High-Level Language for GPUs(via Language Support for Architectures and Compilers)
【24h】

Compiling a High-Level Language for GPUs(via Language Support for Architectures and Compilers)

机译:为GPU编译高级语言(通过对体系结构和编译器的语言支持)

获取原文

摘要

Languages such as OpenCL and CUDA offer a standard interface for general-purpose programming of GPUs. However, with these languages, programmers must explicitly manage numerous low-level details involving communication and synchronization. This burden makes programming GPUs difficult and error-prone, rendering these powerful devices inaccessible to most programmers.We desire a higher-level programming model that makes GPUs more accessible while also effectively exploiting their computational power. This paper presents features of Lime, a new Java-compatible language targeting heterogeneous systems, that allow an optimizing compiler to generate high quality GPU code. The key insight is lhat the language type system enforces isolation and immutability invariants that allow the compiler to optimize for a GPU without heroic compiler analysis.Our compiler attains GPU speedups between 75% and 140% of the performance of native OpenCL code.
机译:诸如OpenCL和CUDA之类的语言为GPU的通用编程提供了标准接口。但是,使用这些语言,程序员必须显式管理涉及通信和同步的许多底层细节。这种负担使得对GPU进行编程变得困难且容易出错,从而使大多数程序员无法访问这些功能强大的设备。我们希望有一个更高层次的编程模型,以使GPU更加易于访问,同时也能有效利用其计算能力。本文介绍了Lime的功能,Lime是针对异构系统的一种新的Java兼容语言,可以使优化的编译器生成高质量的GPU代码。关键的见解在于,语言类型系统强制执行隔离和不变性,使编译器无需进行英勇的编译器分析即可针对GPU进行优化。我们的编译器将GPU的速度提高了本机OpenCL代码的75%至140%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号