An Optimized Design and Implementation of BLAS on GPU

Author
LiangJuanJuan
Advisor
GuNaiJie
School
University of Science and Technology of China
Major
Computer System Architecture
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2010
Downloads
221
Citations
6

Request the full text

Abstract

BLAS (Basic Linear Algebra Subprograms) defines a basic set of matrix and vector operations , including a variety of matrix multiplication and matrix-vector multiplication , there is a wide range of applications in many areas . GPU has now developed into a multi-core , multi-threaded , and has an outstanding computing power and high memory bandwidth , programmable processors . The GPU can be used to accelerate many of the characteristics of the data-parallel application . The in BLAS generic version based on analysis of the GPU architecture features and characteristics of BLAS functions efficiently on the GPU using CUDA BLAS library core operating . This paper first introduces the the BLAS function standard , focusing on the BLAS library the function BLAS2 and BLAS3 , especially BLAS2 the GEMV and BLAS3 the General Martrix Multiply ( GEMM ) , the general matrix multiplication . Describes the characteristics of GPU architecture and CUDA, including CUDA architecture and commonly used optimization method . Then, using CUDA on GPU design and implementation of the three BLAS library the core function GEMM ( General matrix multiplication ) . General matrix multiplication , you need to consider two cases: one is the data has been copied to GPU memory . GeForce GTX 260 , the data has been copied to the memory of the premise , algorithm peak 65GFLOPS . GTX 260 double-precision peak 67.068GFLOPS double-precision to achieve efficiency reached 97% . Another is that the data is not copied to the memory . In the calculation of the large-scale matrix multiplication , the data can not be all at once copied to memory . Data scheduling , the algorithm copies of data for no more than 10% of the total time . Finally, using CUDA on the GPU design and two BLAS library core function GEMV of matrix vector multiplication . Transposed and non- transposed version of the double-precision test , experimental results show that this section of the transposed form in the case of large-scale input faster than CUBLAS achieve 50 % , rather than transposed form performance with CUBLAS quite . As used herein, the realization of high-performance GPU BLAS reference significance .

Related dissertations

  1. Research of Efficient Computing Method on GPU-based LS-SVM
    BaoWenLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Optimization of CUDA-based Parallel SOM Algorithm and Its Application
    ZhangJinChao ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Research on GPU General Computing on Text Classification
    LiZhiLong ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
    XiaoZuo ·Northeastern University ·2011 ·Master's thesis
  5. Research on Text Detecting and Removal in Video Image Based on CUDA
  6. Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
  7. Parallel Face Detection CUDA Accelerating
  8. Research on Boundary Face Method Base on GPU-acceleration
    YuLieXiang ·Hunan University ·2013 ·Master's thesis
  9. Research on Applying GPU Parallel Computation to Medical Image Processing
    LiYingMin ·Tianjin University ·2012 ·Master's thesis
  10. Research of Image Registration and Mosaic Technology Based on GPU
    ZouGang ·Tianjin University ·2012 ·Master's thesis
  11. Research and Implementation of Parallel Resampling Algorithm Based on GPU
    YuYinPing ·Northeastern University ·2013 ·Master's thesis
  12. The CAPTCHA Machine Pattern Recognition Technology Based on GPU Research and Application
  13. Study of Visual Tracking Algorithm Based on CUDA
    ZhangPing ·Beijing Jiaotong University ·2014 ·Master's thesis
  14. Improved Push-Relabel Algorithm for Graph Cuts And Design and Implementation on the GPU
    LiZuo ·Beijing Jiaotong University ·2014 ·Master's thesis
  15. Research and Implementation of Hashalgorithm Library on GPU
    LiKai ·South China University of Technology ·2013 ·Master's thesis
  16. Design and GPU Implementation of the DSP Algorithm in the Coherent Receiver of Fiber Communication
  17. Research of Real-time Acoustic Imaging Array Positioning Technology
    YuLiZhi ·Xiangtan University ·2013 ·Master's thesis
  18. Research on Simulation Methods Based on GPU for Small Delay Faults
    PengMingMing ·Hunan University ·2013 ·Master's thesis
  19. Hyperspectral image mixed pixel decomposition parallel optimization based on GPU
  20. High-Order Difference Forward Modeling and Reverse-Time Migration Based on CUDA
    XiangFei ·Ocean University of China ·2013 ·Master's thesis