MANAS: Journal of Engineering (May 2017)

Comparative Analysis Of Integer Factorization Algorithms Using Cpu And Gpu

  • Rita Ismailova,
  • Rayimbek Sultanov,
  • Gulida Kimsanova

Journal volume & issue
Vol. 5, no. 1
pp. 52 – 63

Abstract

Read online

In this work we have evaluated the running time of four integer factorization algorithms, namely, trial division algorithm, Fermat algorithm, Pollard rho and Brent algorithms. Implementation of these algorithms was performed in three ways on c programming language, on c programming language, using GMP 6.0.0 library and on CUDA architecture to run on GPU. Results showed that Fermat algorithm and trivial division algorithm had the fastest running time in parallel implementation on CUDA architecture. The difference of running times between CUDA implementation and GMP implementation was up to 10 times. The difference between c and c implementation was mainly due to difference in these programming languages.

Keywords