【24h】

SUPPORTING DYNAMIC DATA STRUCTURES IN A SHARED-MEMORY BASED GPGPU PROGRAMMING FRAMEWORK

机译:在基于共享内存的GPGPU编程框架中支持动态数据结构

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

摘要

Although Graphics Processing Unit (GPU) is expected tornbe a practical high performance computing platform, currentrnprogramming frameworks such as CUDA and OpenCLrnrequire large programming cost. Therefore, we are developingrna new framework MESI-CUDA providing sharedrnvariables to hide low-level data management in CUDA.rnHowever, handling dynamic data structures is difficult inrncurrent MESI-CUDA because shared variables cannot berndynamically created and pointer fields are not allowed inrnthem. Thus, we extended MESI-CUDA to remove suchrnrestrictions. Introducing dynamic management of sharedrnvariables and automatic pointer conversion on data transfer,rnany pointer-based dynamic data structure can be shared betweenrnthe CPU and GPU with only small changes from thernC code. As the results of the evaluation, pointer conversionrnincreased the transfer time of data structures approximatelyrn3.3 times larger in the worst case, and 1.3–2 times larger inrnthe practical cases. Considering that non-conversion alternativesrncause overhead in pointer dereferences, we regardrnthis overhead is practical in most cases.
机译:尽管图形处理单元(GPU)有望成为实用的高性能计算平台,但是当前的编程框架(例如CUDA和OpenCL)需要大量的编程成本。因此,我们正在开发新的框架MESI-CUDA,该框架提供共享变量以隐藏CUDA中的低级数据管理。然而,由于无法动态创建共享变量并且不允许将指针字段放入其中,因此在当前MESI-CUDA中处理动态数据结构非常困难。因此,我们扩展了MESI-CUDA以消除这种限制。引入了共享变量的动态管理和数据传输时的自动指针转换功能,基于指针的动态数据结构可以在CPU和GPU之间共享,而对C代码的改动很小。作为评估的结果,指针转换增加了数据结构的传输时间,在最坏的情况下大约增加了3.3倍,而在实际情况下则增加了1.3-2倍。考虑到非转换选择会导致指针取消引用产生开销,因此我们认为这种开销在大多数情况下都是可行的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号