首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Region-based Memory Management for GPU Programming Languages Enabling Rich Data Structures on a Spartan Host
【24h】

Region-based Memory Management for GPU Programming Languages Enabling Rich Data Structures on a Spartan Host

机译:用于GPU编程语言的基于区域的内存管理,可在Spartan主机上启用丰富的数据结构

获取原文
获取原文并翻译 | 示例
           

摘要

Graphics Processing Units (GPUs) can effectively accelerate many applications, but their applicability has been largely limited to problems whose solutions can be expressed neatly in terms of linear algebra. Indeed, most GPU programming languages limit the user to simple data structures typically only multidimensional rectangular arrays of scalar values. Many algorithms are more naturally expressed using higher level language features, such as algebraic data types (ADTs) and first class procedures, yet building these structures in a manner suitable for a GPU remains a challenge. We present a region-based memory management approach that enables rich data structures in Harlan, a language for data parallel computing. Regions enable rich data structures by providing a uniform representation for pointers on both the CPU and GPU and by providing a means of transferring entire data structures between CPU and GPU memory. We demonstrate Harlan's increased expressiveness on several example programs and show that Harlan performs well on more traditional data-parallel problems.
机译:图形处理单元(GPU)可以有效地加速许多应用程序,但是它们的适用性在很大程度上限于可以用线性代数很好地表达其解决方案的问题。实际上,大多数GPU编程语言都将用户限制在简单的数据结构上,通常仅是标量值的多维矩形数组。使用高级语言功能(例如代数数据类型(ADT)和一流的过程)可以更自然地表达许多算法,但是以适合GPU的方式构建这些结构仍然是一个挑战。我们提出了一种基于区域的内存管理方法,该方法可以在Harlan(一种用于数据并行计算的语言)中实现丰富的数据结构。区域通过为CPU和GPU上的指针提供统一的表示以及通过在CPU和GPU内存之间传输整个数据结构的方式来启用丰富的数据结构。我们在几个示例程序上展示了Harlan不断增强的表达能力,并表明Harlan在更传统的数据并行问题上表现出色。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号