Plain Polynomial Arithmetic on GPU

Sardar Anisul Haque, Marc Moreno Maza · Journal of Physics Conference Series · 2012

As for serial code on CPUs, parallel code on GPUs for dense polynomial arithmetic relies on a combination of asymptotically fast and plain algorithms. Those are employed for data of large and small size, respectively. Parallelizing both types of algorithms is required in order to achieve peak performances. In this paper, we show that the plain dense polynomial multiplication can be efficiently parallelized on GPUs. Remarkably, it outperforms (highly optimized) FFT-based multiplication up to degree 2 12 while on CPU the same threshold is usually at 2 6 . We also report on a GPU implementation of the Euclidean Algorithm which is both work-efficient and runs in linear time for input polynomials up to degree 2 18 thus showing the performance of the GCD algorithm based on systolic arrays.

Read the paper · More papers on PaperTik