检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李浩然 王磊 LI Hao-Ran;WANG Lei(School of Computer Science,Zhongyuan University of Technology,Zhengzhou 450007,China;Research Institute of Frontier Information Technology,Zhongyuan University of Technology,Zhengzhou 450007,China)
机构地区:[1]中原工学院计算机学院,郑州450007 [2]中原工学院前沿信息技术研究院,郑州450007
出 处:《计算机系统应用》2021年第7期246-252,共7页Computer Systems & Applications
摘 要:BLAS(Basic Linear Algebra Subprograms)是一个基本线性代数操作的数学函数标准,该库函数分为三个级别,每个级别提供了向量与向量(1级)、向量与矩阵(2级)、向量与向量(三级)之间的基本运算.本文研究了在申威1621处理器上BLAS一级函数的优化方案,以函数AXPY为例,充分利用平台的架构特点对其进行性能调优,设计了自动的线程分配方案.实验结果显示优化过后的BLAS一级函数AXPY相对于GotoBLAS参考实现版本的单核和多核加速比分别高达4.36和9.50,对于每种优化方式均得到了一定的性能提升.The Basic Linear Algebra Subprogram(BLAS)is a mathematical function standard for basic linear algebra operations.The library function is divided into three levels in which basic operations between vector and vector(level 1),vector and matrix(level 2),and vector and vector(level 3)are offered.In this paper,we study the optimization scheme of BLAS level1 functions on SW1621 processor.With the function AXPY as an example,the architectural characteristics of the platform are fully used to optimize its performance,and an automatic thread allocation scheme is designed.The experimental results show that compared with the reference implementation version of GotoBLAS,the optimized BLAS level1 function,AXPY,has a high single-core acceleration ratio of 4.36 and a multi-core one of 9.50 respectively.Every optimization scheme can improve the performance.
关 键 词:申威1621 BLAS 并行 线程分配 SIMD向量化
分 类 号:TP332[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.190.219.46