Archives / Vol. 3, No. 1 (January 2014)

Comparison of GPU Implementations of Row-wise and Column-wise Fundamental Algorithms

Bulletin of Networking, Computing, Systems, and Software, Vol. 3, No. 1, pp. 86–90, January 2014

Download PDF

Abstract

In this paper, we treat GPU implementations of the following three fundamental algorithms for each 1-dimensional array, which is one of given L 1-dimensional arrays: (1) calculating the prefix sum, (2) sorting by Bubble sort, (3) sorting by Bitonic sort. There are two methods to store L 1-dimensional arrays as a 2-dimensional array: one is to store each 1-dimensional array as a row-wise array, and the other is to do each 1-dimensional array as a column-wise one. A 2-dimensional array stored by the first or second method is called by a row-wise array or a column-wise array, respectively. We compared with the computation times of applying GPU implementation of above three algorithms to a row-wise array and a column-wise array. The experiment results show that GPU implementation of column-wise prefix sum is speedup factor up to 46.53 over that of row-wise one, and that GPU implementation of column-wise Bubble sort or Bitonic sort is to 58.52 or 17.86, respectively, over row-wise one.

How to Cite

Daisuke Takafuji, Yasuaki Ito and Koji Nakano, "Comparison of GPU Implementations of Row-wise and Column-wise Fundamental Algorithms," Bulletin of Networking, Computing, Systems, and Software, vol. 3, no. 1, pp. 86–90, 2014.

BibTeX
@article{ijnc.v03n01p21,
  author  = {Daisuke Takafuji and Yasuaki Ito and Koji Nakano},
  title   = {Comparison of GPU Implementations of Row-wise and Column-wise Fundamental Algorithms},
  journal = {Bulletin of Networking, Computing, Systems, and Software},
  volume  = {3},
  number  = {1},
  pages   = {86--90},
  year    = {2014},
  url     = {https://bncss-bulletin.github.io/articles/v03n01p21/}
}