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
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
- Research of Efficient Computing Method on GPU-based LS-SVM
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on GPU General Computing on Text Classification
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- Research on Text Detecting and Removal in Video Image Based on CUDA
- Rapid Implementation of the Small Infrared Target Detection Algorithm on CUDA
- Parallel Face Detection CUDA Accelerating
- Research on Boundary Face Method Base on GPU-acceleration
- Research on Applying GPU Parallel Computation to Medical Image Processing
- Research of Image Registration and Mosaic Technology Based on GPU
- Research and Implementation of Parallel Resampling Algorithm Based on GPU
- The CAPTCHA Machine Pattern Recognition Technology Based on GPU Research and Application
- Study of Visual Tracking Algorithm Based on CUDA
- Improved Push-Relabel Algorithm for Graph Cuts And Design and Implementation on the GPU
- Research and Implementation of Hashalgorithm Library on GPU
- Design and GPU Implementation of the DSP Algorithm in the Coherent Receiver of Fiber Communication
- Research of Real-time Acoustic Imaging Array Positioning Technology
- Research on Simulation Methods Based on GPU for Small Delay Faults
- Hyperspectral image mixed pixel decomposition parallel optimization based on GPU
- High-Order Difference Forward Modeling and Reverse-Time Migration Based on CUDA