...
首页> 外文期刊>Parallel Processing Letters >The Relation Between Diamond Tiling and Hexagonal Tiling
【24h】

The Relation Between Diamond Tiling and Hexagonal Tiling

机译:钻石平铺和六角平铺的关系

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

摘要

Iterative stencil computations are important in scientific computing and more also in the embedded and mobile domain. Recent publications have shown that tiling schemes that ensure concurrent start provide efficient ways to execute these kernels. Diamond tiling and hybrid-hexagonal tiling are two tiling schemes that enable concurrent start. Both have different advantages: diamond tiling has been integrated in a general purpose optimization framework and uses a cost function to choose among tiling hyperplanes, whereas the greater flexibility with tile sizes for hybrid-hexagonal tiling has been exploited for effective generation of GPU code. In this paper we undertake a comparative study of these two tiling approaches and propose a hybrid approach that combines them. We analyze the effects of tile size and wavefront choices on tile-level parallelism, and formulate constraints for optimal diamond tile shapes. We then extend, for the case of two dimensions, the diamond tiling formulation into a hexagonal tiling one, which offers both the flexibility of hexagonal tiling and the generality of the original diamond tiling implementation. We also show how to compute tile sizes that maximize the compute-to-communication ratio, and apply this result to compare the best achievable ratio and the associated synchronization overhead for diamond and hexagonal tiling.
机译:迭代模板计算在科学计算中很重要,在嵌入式和移动领域中也很重要。最近的出版物表明,确保并发启动的切片方案提供了执行这些内核的有效方法。菱形拼贴和混合六边形拼贴是启用并发启动的两种拼贴方案。两者都有不同的优势:钻石平铺已集成到通用优化框架中,并使用成本函数在平铺超平面中进行选择,而混合六边形平铺的平铺尺寸具有更大的灵活性,可有效生成GPU代码。在本文中,我们对这两种平铺方法进行了比较研究,并提出了将它们组合在一起的混合方法。我们分析了磁贴大小和波前选择对磁贴级别并行性的影响,并制定了最佳菱形磁贴形状的约束条件。然后,对于二维尺寸的情况,我们将金刚石平铺配方扩展为一个六角形平铺,既提供了六角形平铺的灵活性又提供了原始金刚石平铺实现的通用性。我们还将展示如何计算可最大化计算与通信比率的图块大小,并将此结果应用于比较最佳可实现比率以及与菱形和六角形图块相关联的同步开销。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号