Efficient Collaboration Method Between CPU and GPU for Generating All Possible Cases in Combination


KIPS Transactions on Computer and Communication Systems, Vol. 7, No. 9, pp. 219-226, Sep. 2018
10.3745/KTCCS.2018.7.9.195,   PDF Download:
Keywords: Combination, All Possible Cases, GPU, CPU, Collaboration
Abstract

One of the systematic ways to generate the number of all cases is a combination to construct a combination tree, and its time complexity is O(). A combination tree is used for various purposes such as the graph homogeneity problem, the initial model for calculating frequent item sets, and so on. However, algorithms that must search the number of all cases of a combination are difficult to use realistically due to high time complexity. Nevertheless, as the amount of data becomes large and various studies are being carried out to utilize the data, the number of cases of searching all cases is increasing. Recently, as the GPU environment becomes popular and can be easily accessed, various attempts have been made to reduce time by parallelizing algorithms having high time complexity in a serial environment. Because the method of generating the number of all cases in combination is sequential and the size of sub-task is biased, it is not suitable for parallel implementation. The efficiency of parallel algorithms can be maximized when all threads have tasks with similar size. In this paper, we propose a method to efficiently collaborate between CPU and GPU to parallelize the problem of finding the number of all cases. In order to evaluate the performance of the proposed algorithm, we analyze the time complexity in the theoretical aspect, and compare the experimental time of the proposed algorithm with other algorithms in CPU and GPU environment. Experimental results show that the proposed CPU and GPU collaboration algorithm maintains a balance between the execution time of the CPU and GPU compared to the previous algorithms, and the execution time is improved remarkable as the number of elements increases.


Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from September 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[IEEE Style]
K. Son, M. Son, Y. Kim, "Efficient Collaboration Method Between CPU and GPU for Generating All Possible Cases in Combination," KIPS Transactions on Computer and Communication Systems, vol. 7, no. 9, pp. 219-226, 2018. DOI: 10.3745/KTCCS.2018.7.9.195.

[ACM Style]
Ki-Bong Son, Min-Young Son, and Young-Hak Kim. 2018. Efficient Collaboration Method Between CPU and GPU for Generating All Possible Cases in Combination. KIPS Transactions on Computer and Communication Systems, 7, 9, (2018), 219-226. DOI: 10.3745/KTCCS.2018.7.9.195.