首页> 外文会议>Compiler construction >Practical Loop Transformations for Tensor Contraction Expressions on Multi-level Memory Hierarchies
【24h】

Practical Loop Transformations for Tensor Contraction Expressions on Multi-level Memory Hierarchies

机译:多级内存层次结构上张量收缩表达式的实用循环变换

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

摘要

Modern architectures are characterized by deeper levels of memory hierarchy, often explicitly addressable. Optimizing applications for such architectures requires careful management of the data movement across all these levels. In this paper, we focus on the problem of mapping tensor contractions to memory hierarchies with more than two levels, specifically addressing placement of memory allocation and data movement statements, choice of loop fusions, and tile size selection. Existing algorithms to find an integrated solution to this problem even for two-level memory hierarchies have been shown to be expensive. We improve upon this work by focusing on the first-order cost components, simplifying the analysis required and reducing the number of candidates to be evaluated. We have evaluated our framework on a cluster of GPUs. Using five candidate tensor contraction expressions, we show that fusion at multiple levels improves performance, and our framework is effective in determining profitable transformations.
机译:现代体系结构的特征是更深层次的内存层次结构,通常可以显式寻址。针对此类架构优化应用程序需要仔细管理所有这些级别的数据移动。在本文中,我们关注于将张量收缩映射到具有两个以上级别的内存层次结构的问题,特别是解决内存分配和数据移动语句的放置,循环融合的选择以及图块大小的选择。已经发现,即使对于两级存储器层次结构,找到用于解决该问题的集成解决方案的现有算法也很昂贵。我们通过关注一阶成本要素,简化所需的分析并减少要评估的候选人的数量来改进这项工作。我们已经在GPU集群上评估了我们的框架。使用五个候选张量收缩表达式,我们表明在多个级别进行融合可以提高性能,并且我们的框架可有效地确定可盈利的转换。

著录项

  • 来源
    《Compiler construction》|2011年|p.266-285|共20页
  • 会议地点 Saarbrucken(DE);Saarbrucken(DE);Saarbrucken(DE);Saarbrucken(DE)
  • 作者单位

    The Ohio State University, Columbus, OH, 43210, USA;

    Pacific Northwest National Lab, Richland, WA, 99352, USA;

    The Ohio State University, Columbus, OH, 43210, USA;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 计算机软件;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号