首页> 外文会议>International conference on high-performance computing and networking >Modeling and Improving Locality for Irregular Problems: Sparse Matrix-Vector product on Cache Memories as a Case Study
【24h】

Modeling and Improving Locality for Irregular Problems: Sparse Matrix-Vector product on Cache Memories as a Case Study

机译:用于不规则问题的建模与改进局部性:缓存记忆中稀疏矩阵 - 矢量产品作为案例研究

获取原文

摘要

In this paper we introduce a model for representing and improving the locality of sparse matrices for irregular problems. We focus out attention on thebehavior of iterative methods for hte solution of sparse linear systems with irregular patterns. In particular the prouct of a sparse matrix by a nese vector is closely examined, as this is oe of the basic kernels in such codes. As a representative level of the memory hierarchy, we ocnsider the cache memory. In our model, locality is measured taking into account pairs of rows or columns of sparse matrices. In order to evaluate this locality four functins based on two parameters called entry matches and cache line matches are introduced. Using an analogy of this problem ot the traveling salesman problem we have applied tw algorithms in order to solve it; one based on the construction of minimum spanning trees and the other on the nearest-neighbor heuvristic. These techniques were tested over a set of sparse matrices. The results wre assesed through the measurement of cache misses on a standard cache memory.
机译:在本文中,我们介绍一种代表和改善稀疏矩阵的局部性的模型以进行不规则问题。我们对不规则图案的稀疏线性系统HTE解决方案的迭代方法的关注。特别地,密切检查NEES向量的稀疏矩阵的PROUCT,因为这是这些代码中的基本内核的OE。作为内存层次结构的代表性级别,我们会发现缓存内存。在我们的模型中,测量局部性地考虑到稀疏矩阵的行或列。为了评估此局部性,基于两个名为条目匹配的参数和缓存行匹配的四个功能。使用这个问题的类比,我们已经应用了我们应用了TW算法以解决它;一个基于最小跨越树的建设,另一个在最近的邻居Heuvristic。这些技术在一组稀疏矩阵上进行了测试。结果通过标准缓存存储器的高速缓存未命中的测量来进行抑制。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号