首页> 外文会议>2015 International Conference on Intelligent Systems and Knowledge Engineering >Predicting Optimal Thread Quantity for SpMV Computation on Multi-core Platform
【24h】

Predicting Optimal Thread Quantity for SpMV Computation on Multi-core Platform

机译:预测多核平台上SpMV计算的最佳线程数量

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

摘要

Sparse matrix-vector multiplication (SpMV) is a memory intensive kernel, executing with different thread quantity is very different in performance. In this paper, we present a new method based on knowledge discovery technology to give the optimal thread quantity to improve SpMV performance and reduce execution time. Considering the feature of sparse matrix, which affecting the efficiency of SpMV, we cluster sample matrices by hierarchical clustering algorithm. Record the attributes values of the matrix that has large arithmetic intensity with different thread quantity in each cluster. Then predict thread quantity by comparing similarity between the test and record matrices. We test 10 sparse matrices on the Xeon E5-2670 multi-core platform. The experimental results show that the thread quantities predicted by this method agree with the practical result, and the accuracy of prediction reaches 90%. The method we proposed can estimate the optimal thread quantity accurately that can improve SpMV efficiency and reduce the computation time effectively.
机译:稀疏矩阵向量乘法(SpMV)是一个内存密集型内核,以不同的线程数量执行在性能上有很大差异。在本文中,我们提出了一种基于知识发现技术的新方法,该方法可以提供最佳线程数量以提高SpMV性能并减少执行时间。考虑到稀疏矩阵的特性会影响SpMV的效率,我们采用层次聚类算法对样本矩阵进行聚类。记录具有高算术强度且每个簇中线程数不同的矩阵的属性值。然后通过比较测试矩阵和记录矩阵之间的相似性来预测线程数量。我们在Xeon E5-2670多核平台上测试了10个稀疏矩阵。实验结果表明,该方法预测的螺纹量与实际结果吻合,预测精度达到90%。我们提出的方法可以准确地估计最佳线程数量,从而可以提高SpMV效率并有效地减少计算时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号