首页> 外文期刊>International journal of parallel programming >Data Layout Transformation Exploiting Memory-Level Parallelism in Structured Grid Many-Core Applications
【24h】

Data Layout Transformation Exploiting Memory-Level Parallelism in Structured Grid Many-Core Applications

机译:数据布局转换利用结构化网格多核应用程序中的内存级并行性

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

摘要

We present automatic data layout transformation as an effective compiler performance optimization for memory-bound structured grid applications. Structured grid applications include stencil codes and other code structures using a dense, regular grid as the primary data structure. Fluid dynamics and heat distribution, which both solve partial differential equations on a discretized representation of space, are representative of many important structured grid applications. Using the information available through variable-length array syntax, standardized in C99 and other modern languages, we enable automatic data layout transformations for structured grid codes with dynamically allocated arrays. We also present how a tool can guide these transformations to statically choose a good layout given a model of the memory system, using a modern GPU as an example. A transformed layout that distributes concurrent memory requests among parallel memory system components provides substantial speedup for structured grid applications by improving their achieved memory-level parallelism. Even with the overhead of more complex address calculations, we observe up to 10.94X speedup over the original layout, and a 1.16X performance gain in the worst case.
机译:我们提出了自动数据布局转换,作为内存绑定结构化网格应用程序的有效编译器性能优化。结构化网格应用程序包括模板代码和其他使用密集,规则网格作为主要数据结构的代码结构。流体动力学和热分布都解决了离散的空间表示中的偏微分方程,代表了许多重要的结构化网格应用。使用通过可变长度数组语法(使用C99和其他现代语言进行标准化)可获得的信息,我们可以对具有动态分配数组的结构化网格代码进行自动数据布局转换。我们还以现代GPU为例,介绍了在给定内存系统模型的情况下,工具如何指导这些转换以静态选择良好的布局。在并行内存系统组件之间分配并发内存请求的转换后的布局通过提高结构化网格应用程序实现的内存级别并行性,大大提高了结构化网格应用程序的速度。即使有更复杂的地址计算开销,我们仍然可以观察到原始布局上的速度提高了10.94倍,在最坏的情况下,性能提高了1.16倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号