Fast Effective Deterministic Primality Test Using CUDA/GPGPU

Authors

  • Abu Asaduzzaman Wichita State University
  • Anindya Maiti Wichita State University
  • Chok Meng Yip Wichita State University

DOI:

https://doi.org/10.24297/ijct.v12i3.3247

Keywords:

CUDA architecture, deterministic algorithm, GPU computing, parallel computing, primality test,

Abstract

There are great interests in understanding the manner by which the prime numbers are distributed throughout the integers. Prime numbers are being used in secret codes for more than 60 years now. Computer security authorities use extremely large prime numbers when they devise cryptographs, like RSA (short for Rivest, Shamir, and Adleman) algorithm, for protecting vital information that is transmitted between computers. There are many primality testing algorithms including mathematical models and computer programs. However, they are very time consuming when the given number n is very big or n→∞. In this paper, we propose a novel parallel computing model based on a deterministic algorithm using central processing unit (CPU) / general-purpose graphics processing unit (GPGPU) systems, which determines whether an input number is prime or composite much faster. We develop and implement the proposed algorithm using a system with a 8-core CPU and a 448-core GPGPU. Experimental results indicate that upto 94.35x speedup can be achieved for 21-digit decimal numbers.

Downloads

Download data is not yet available.

Author Biographies

Abu Asaduzzaman, Wichita State University

Abu Asaduzzaman is an Assistant Professor in the department of Electrical Engineering and Computer Science (EECS) at Wichita State University (WSU), USA. His research interests include computer architecture, embedded systems, and parallel programming for high-performance low-power computing.

Anindya Maiti, Wichita State University

Anindya Maiti is currently working on his M.S. degree program in Electrical Engineering from the EECS department at WSU, USA.

Chok Meng Yip, Wichita State University

Chok M. Yip is currently working on his M.S. degree program in Computer Networking from the EECS department at WSU, USA.

Downloads

Published

2014-01-07

How to Cite

Asaduzzaman, A., Maiti, A., & Yip, C. M. (2014). Fast Effective Deterministic Primality Test Using CUDA/GPGPU. INTERNATIONAL JOURNAL OF COMPUTERS &Amp; TECHNOLOGY, 12(3), 3338–3346. https://doi.org/10.24297/ijct.v12i3.3247

Issue

Section

Research Articles