### Abstract

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 × 100 to a higher size of 800 × 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 9 ×. 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.

Original language | English |
---|---|

Title of host publication | Soft Computing for Problem Solving SocProS 2018, Volume 2 |

Editors | Kedar Nath Das, Jagdish Chand Bansal, Kusum Deep, Atulya K. Nagar, Ponnambalam Pathipooranam, Rani Chinnappa Naidu |

Publisher | Springer Paris |

Pages | 131-140 |

Number of pages | 10 |

ISBN (Print) | 9789811501838 |

DOIs | |

Publication status | Published - 01-01-2020 |

Event | 8th International Conference on Soft Computing for Problem Solving, SocProS 2018 - Vellore, India Duration: 17-12-2018 → 19-12-2018 |

### Publication series

Name | Advances in Intelligent Systems and Computing |
---|---|

Volume | 1057 |

ISSN (Print) | 2194-5357 |

ISSN (Electronic) | 2194-5365 |

### Conference

Conference | 8th International Conference on Soft Computing for Problem Solving, SocProS 2018 |
---|---|

Country | India |

City | Vellore |

Period | 17-12-18 → 19-12-18 |

### All Science Journal Classification (ASJC) codes

- Control and Systems Engineering
- Computer Science(all)

## Fingerprint Dive into the research topics of 'GPU Computing for Compute-Intensive Scientific Calculation'. Together they form a unique fingerprint.

## Cite this

*Soft Computing for Problem Solving SocProS 2018, Volume 2*(pp. 131-140). (Advances in Intelligent Systems and Computing; Vol. 1057). Springer Paris. https://doi.org/10.1007/978-981-15-0184-5_12