{"title":"A CPU-GPU Cooperative Sorting Approach","authors":"R. K, N. Chiplunkar, K. Rajanikanth","doi":"10.1109/i-PACT44901.2019.8960106","DOIUrl":null,"url":null,"abstract":"Sorting is a fundamental operation in computer science. Sorting is normally done in CPU. Graphics processing Units (GPU) are basically used to render graphical objects. Nowadays GPUs are also used for high-performance general-purpose computation. Due to the availability of GPUs for general purpose computation sorting can also be done on GPUs. The CPU has fewer cores, but it operates at higher frequency than GPUs. GPUs possess large number of cores and hence provide high throughput. The drawback of CPU-GPU execution model is that when the GPU is executing, the CPU remains idle. Due to this model of execution enormous computation power of CPU cores is wasted. By cooperatively utilizing both CPU and GPU for performing a task, we can reduce the computation time of a task. In this paper we perform merge sort using both CPU and GPU cooperatively. With this method we obtained a speedup of around 3 compared to the GPU-only execution.","PeriodicalId":214890,"journal":{"name":"2019 Innovations in Power and Advanced Computing Technologies (i-PACT)","volume":"46 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 Innovations in Power and Advanced Computing Technologies (i-PACT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/i-PACT44901.2019.8960106","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
Sorting is a fundamental operation in computer science. Sorting is normally done in CPU. Graphics processing Units (GPU) are basically used to render graphical objects. Nowadays GPUs are also used for high-performance general-purpose computation. Due to the availability of GPUs for general purpose computation sorting can also be done on GPUs. The CPU has fewer cores, but it operates at higher frequency than GPUs. GPUs possess large number of cores and hence provide high throughput. The drawback of CPU-GPU execution model is that when the GPU is executing, the CPU remains idle. Due to this model of execution enormous computation power of CPU cores is wasted. By cooperatively utilizing both CPU and GPU for performing a task, we can reduce the computation time of a task. In this paper we perform merge sort using both CPU and GPU cooperatively. With this method we obtained a speedup of around 3 compared to the GPU-only execution.