cuPSO: GPU Parallelization for Particle Swarm Optimization Algorithms

Chuan Chi Wang, Chun Yen Ho, Chia Heng Tu, Shih Hao Hung

研究成果: Conference contribution

6 引文 斯高帕斯(Scopus)

摘要

Particle Swarm Optimization (PSO) is a stochastic technique for solving the optimization problem. Attempts have been made to shorten the computation times of PSO based algorithms with massive threads on GPUs (graphic processing units), where thread groups are formed to calculate the information of particles and the computed outputs for the particles are aggregated and analyzed to find the best solution. In particular, the reduction-based method is considered as a common approach to handle the data aggregation and analysis for the calculated particle information. Nevertheless, based on our analysis, the reduction-based method would suffer from excessive memory accesses and thread synchronization overheads. In this paper, we propose a novel algorithm to alleviate the above overheads with the atomic functions. The threads within a thread group update the calculated results atomically to the intra-group data queue conditionally, which prevents the frequent accesses to the memory as done by the parallel reduction operations. Furthermore, we develop an enhanced version of the algorithm to alleviate the synchronization barrier among the thread groups, which is achieved by allowing the thread groups to run asynchronously and updating to the global, lock-protected variables occasionally if necessary. Our experimental results show that our proposed algorithm running on the Nvidia GPU is about 200 times faster than the serial version executed by the Intel Xeon CPU. Moreover, the novel algorithm outperforms the state-of-the-art method (the parallel reduction approach) by a factor of 2.2.

原文English
主出版物標題Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022
發行者Association for Computing Machinery
頁面1183-1189
頁數7
ISBN(電子)9781450387132
DOIs
出版狀態Published - 2022 4月 25
事件37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022 - Virtual, Online
持續時間: 2022 4月 252022 4月 29

出版系列

名字Proceedings of the ACM Symposium on Applied Computing

Conference

Conference37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022
城市Virtual, Online
期間22-04-2522-04-29

All Science Journal Classification (ASJC) codes

  • 軟體

指紋

深入研究「cuPSO: GPU Parallelization for Particle Swarm Optimization Algorithms」主題。共同形成了獨特的指紋。

引用此