GPU Computing for Compute-Intensive Scientific Calculation

被引:2
作者
Dubey, Sandhya Parasnath [1 ]
Kumar, M. Sathish [2 ]
Balaji, S. [3 ]
机构
[1] Manipal Acad Higher Educ, Manipal Inst Technol, Dept Comp Applicat, Manipal 576104, India
[2] Manipal Acad Higher Educ, Manipal Inst Technol, Dept Elect & Commun, Manipal 576104, India
[3] Manipal Acad Higher Educ, Manipal Inst Technol, Dept Biotechnol, Manipal 576104, India
来源
SOFT COMPUTING FOR PROBLEM SOLVING, SOCPROS 2018, VOL 2 | 2020年 / 1057卷
关键词
HPC; GPU; Matrix multiplication; OpenCL; MPI;
D O I
10.1007/978-981-15-0184-5_12
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
GPU has emerged as a platform that off-loads computation intensive work from CPU and performs numerical computations in less time. One such mathematical operation is matrix multiplication. Matrix is one of the fundamental mathematical objects used in the scientific calculation, with applicability in various fields such as computer graphics, analysis of electrical circuits, computer networks, DNA sequence comparison, protein structure prediction, etc. This work presents a comparative analysis of scalar matrix multiplication in three modes, namely: (i) sequential programming in C language (ii) parallel implementations using OpenCL, and (iii) MPI. The testbed comprises of input matrices ranging from small size of 100 x 100 to a higher size of 12,800 x 12,800. We observe that parallel execution in OpenCL outperforms MPI and sequential C for higher dimensional matrices. In contrast, sequential C outperforms both MPI and OpenCL for small dimension matrices. Besides, we analyze that OpenCL program has attained a speedup of 9x. Therefore, we conclude that parallel execution of code is more efficient for data of computationally large sizes and hence provides a potentially useful solution to address NP-complete problems.
引用
收藏
页码:131 / 140
页数:10
相关论文
共 12 条
[1]   Protein folding in the hydrophobic-hydrophilic (HP) model is NP-complete [J].
Berger, B ;
Leighton, T .
JOURNAL OF COMPUTATIONAL BIOLOGY, 1998, 5 (01) :27-40
[2]  
Cormen T. H., 2009, Introduction To Algorithms
[3]  
Cymerman Iwona A., 2009, P293, DOI 10.1007/978-1-4020-9058-5_12
[4]  
DILL KA, 1995, PROTEIN SCI, V4, P561
[5]   A review of protein structure prediction using lattice model [J].
Dubey S.P.N. ;
Kini N.G. ;
Balaji S. ;
Kumar M.S. .
Critical Reviews in Biomedical Engineering, 2018, 46 (02) :147-162
[6]  
Gaster B., 2012, Heterogeneous computing with OpenCL
[7]  
Hwu W.W, 2012, GPU COMPUTING GEMS, V2
[8]   Clustered Memetic Algorithm With Local Heuristics for Ab Initio Protein Structure Prediction [J].
Islam, Md. Kamrul ;
Chetty, Madhu .
IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2013, 17 (04) :558-576
[9]  
Li J., 2014, GPU ALGORITHMS BIOIN
[10]  
Pevsner J., 2015, Bioinformatics and functional genomics