Title :
High precision integer multiplication with a graphics processing unit
Author :
Emmart, Niall ; Weems, Charles
Author_Institution :
Comput. Sci. Dept., Univ. of Massachusetts, Amherst, MA, USA
Abstract :
In this paper we evaluate the potential for using an NVIDIA graphics processing unit (GPU) to accelerate high precision integer multiplication. The reported peak vector performance for a typical GPU appears to offer considerable potential for accelerating such a regular computation. Because of limitations in the on-chip memory, the high cost of kernel launches, and the particular nature of the architecture´s support for parallelism, we found it necessary to use a hybrid algorithmic approach to obtain good performance. On the GPU itself we use an adaptation of the Strassen FFT algorithm to multiply 32KB chunks, while on the CPU we adapt the Karatsuba divide-and-conquer approach to optimize the application of the GPU´s partial multiplies, which are viewed as ¿digits¿ by our implementation of Karatsuba. Even with this approach, the result is at best a modest increase in performance, compared with executing the same multiplication using the GMP package on a CPU at a comparable technology node. We identify the sources of this lackluster performance and discuss the likely impact of planned advances in GPU architecture.
Keywords :
computer graphic equipment; computer graphics; coprocessors; divide and conquer methods; floating point arithmetic; GPU; Karatsuba divide-and-conquer approach; NVIDIA graphic processing unit; Strassen FFT algorithm; double-precision floating-point arithmetic unit; high precision integer multiplication; hybrid algorithmic approach; on-chip memory; Acceleration; Arithmetic; Central Processing Unit; Computer architecture; Computer graphics; Computer science; Concurrent computing; Costs; Kernel; Parallel processing;
Conference_Titel :
Parallel & Distributed Processing, Workshops and Phd Forum (IPDPSW), 2010 IEEE International Symposium on
Conference_Location :
Atlanta, GA
Print_ISBN :
978-1-4244-6533-0
DOI :
10.1109/IPDPSW.2010.5470814