期刊文献+

FitenBLAS:面向FT1000微处理器的高性能线性代数库

FitenBLAS:High Performance BLAS for a Massively Multithreaded FT1000 Processor
下载PDF
导出
摘要 BLAS库是基本线性代数子程序库,是许多大型科学与工程计算的核心计算程序,FitenBLAS库是在多核多线FT1000微处理器上开发的基本线性代数库,其研制对FT1000微处理器在科学与工程计算中的应用具有重要意义.根据多级存储结构和寄存器的数目,设计了向量与向量、矩阵与向量和矩阵与矩阵运算的多级循环展开方法,采用指令调度、数据预取等通用优化技术,优化BLAS库串行程序.对于BLAS3子程序,设计了矩阵乘无冗余数据拷贝分块算法,采用指令重排、访存与计算的重叠、分块等技术优化矩阵乘子程序,基于矩阵乘子程序实现了其他BLAS3子程序.研制了汇编线性代数程库FitenBLAS,其核心子程序矩阵乘的双精度计算性能达到6.91Gflops,是峰值性能的86.4%. BLAS library is the fundamental linear algebra library and plays an important role in many large scientific applications. This paper developed a linear algebra library named FitenBLAS on a massively multithreaded FT1000 processor. Based on the hierarchical storage system and the number of registers, multilevel loop unrolling methods were developed for vector-vector, matrix-vector and matrix-matrix linear operations. The codes of FitenBLAS were optimized with instruction layout and data prefetching technolo- gy. An avoiding redundant packing method was proposed for parallel matrix-matrix multiplication, and the parallel code was developed. The kernel matrix-matrix multiplication code was optimized with instruction layout, time overlapping of data access and computation, and data blocking. The other BLAS3 subroutines were designed on the matrix multiplication code. The kernel codes of FitenBLAS were developed in assem-bly language. The performance for the key subroutine of the matrix multiplication reaches 6.91Glops/s, nearly 86.4% of the peak performance of the FT1000.
出处 《湖南大学学报(自然科学版)》 EI CAS CSCD 北大核心 2015年第4期100-106,共7页 Journal of Hunan University:Natural Sciences
基金 国家自然科学基金资助项目(60970033) 国家高技术研究发展计划(863计划)资助项目(2012AA01A301)~~
关键词 FT1000微处理器 BLAS库 性能优化 FT1000 Processor BLAS code performance optimization
  • 相关文献

参考文献12

  • 1DONGARRA J. Basic linear algebra subprograms technical fo- rum standard J3. International Journal of High Performance Applications and Supercomputing, 2002, 16(1): 1-111.
  • 2Intel MKL homepage, http://software, intel, com/zh-cn/intel- mkl/.
  • 3AMD ACML homepage, http.//developer, amd. com/cpu/ libraries/acml/.
  • 4IBM ESSL homepage, http://www-03, ibm. corn/systems/ software/essl/.
  • 5GotoBLAS homepage, http://www, tacc. utexas, edu/tacc- proj ects/gotoblas2.
  • 6GOTO K, VAN DE GEIJN R. Anatomy of high-performance matrix multiplication [J]. ACM Transactions on Mathematical Software, 2008, 34(3) : 1-25.
  • 7ATLAS homepage, http://math-atlas, sourceforge, net/.
  • 8WHALEY R, PETITET A, DONGARRA J. Automated em pirical optimizations of software and the ATLAS project EJJ. Parallel Computing, 2001, 27(1): 3-35.
  • 9OpenBLAS homepage, http://xianyi, github, com/ Open BLAS.
  • 10张先轶,王茜,张云泉.OpenBLAS:龙芯3ACPU的高性能BLAS库[J].软件学报,2011,22(zk2):208—216.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部