Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Efficient GPU Implementation of Multiple-Precision Addition based on Residue Arithmetic

Author 1: Konstantin Isupov Author 2: Vladimir Knyazkov
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 11, No. 9 · Published 2020

DOI: https://doi.org/10.14569/IJACSA.2020.0110901

Abstract

In this work, the residue number system (RNS) is applied for efficient addition of multiple-precision integers using graphics processing units (GPUs) that support the Compute Unified Device Architecture (CUDA) platform. The RNS allows calculations with the digits of a multiple-precision number to be performed in an element-wise fashion, without the overhead of communication between them, which is especially useful for massively parallel architectures such as the GPU architecture. The paper discusses two multiple-precision integer algorithms. The first algorithm relies on if-else statements to test the signs of the operands. In turn, the second algorithm uses radix complement RNS arithmetic to handle negative numbers. While the first algorithm is more straightforward, the second one avoids branch divergence among threads that concurrently compute different elements of a multiple-precision array. As a result, the second algorithm shows significantly better performance compared to the first algorithm. Both algorithms running on an NVIDIA RTX 2080 Ti GPU are faster than the multi-core GNU MP implementation running on an Intel Xeon 4100 processor.

Keywords

How to Cite this Article

Isupov, K., & Knyazkov, V. (2020). Efficient GPU Implementation of Multiple-Precision Addition based on Residue Arithmetic. International Journal of Advanced Computer Science and Applications, 11(9). https://doi.org/10.14569/IJACSA.2020.0110901

Isupov, Konstantin, and Vladimir Knyazkov. "Efficient GPU Implementation of Multiple-Precision Addition based on Residue Arithmetic." International Journal of Advanced Computer Science and Applications, vol. 11, no. 9, 2020, https://doi.org/10.14569/IJACSA.2020.0110901.

@article{Isupov2020,
  title     = {Efficient GPU Implementation of Multiple-Precision Addition based on Residue Arithmetic},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {11},
  number    = {9},
  year      = {2020},
  publisher = {The Science and Information Organization},
  author    = {Konstantin Isupov and Vladimir Knyazkov},
  doi       = {10.14569/IJACSA.2020.0110901},
  url       = {https://doi.org/10.14569/IJACSA.2020.0110901}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.