首页> 外文会议>24th ACM international conference on supercomputing 2010 >A Compiler-automated Array Compression Scheme for Optimizing Memory Intensive Programs
【24h】

A Compiler-automated Array Compression Scheme for Optimizing Memory Intensive Programs

机译:用于优化内存密集型程序的编译器自动阵列压缩方案

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

摘要

This paper proposes a compiler-automated array compression scheme to reduce the memory bandwidth consumption of programs and thereby to improve their execution speed. Three encoding methods are developed for such compression. Formulas are derived to analyze the cost and benefit of such methods. To ease the programmer's effort for writing and maintaining complex source code that utilizes compression, we implement our technique in a compiler which automatically transforms the program into different versions corresponding to different encoding methods. The compiler also inserts operations to adaptively invoke the preferred version at run time, including the original version which performs no compression. Results show that our compiler-automated adaptive scheme improves the execution speed over the original version by an average of 9% for a set of benchmark programs which perform memory-intensive sparse matrix-vector multiplications (SpMV). These results take into account of overhead to make the adaptive decision. When tested separately, the individual encoding methods speed up program execution by as high as 41%, which compares favorably against previous compression methods manually applied to SpMV.
机译:本文提出了一种编译器自动数组压缩方案,以减少程序的内存带宽消耗,从而提高程序的执行速度。针对这种压缩,开发了三种编码方法。得出公式来分析这种方法的成本和收益。为了减轻程序员编写和维护利用压缩的复杂源代码的工作,我们在编译器中实现了我们的技术,该编译器会自动将程序转换为与不同编码方法相对应的不同版本。编译器还插入操作以在运行时自适应调用首选版本,包括不执行压缩的原始版本。结果表明,对于一组执行内存密集型稀疏矩阵矢量乘法(SpMV)的基准程序,我们的编译器自动自适应方案将原始版本的执行速度平均提高了9%。这些结果考虑了做出自适应决策的开销。单独测试时,单独的编码方法可将程序执行速度提高41%,与以前手动应用于SpMV的压缩方法相比,具有优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号