Abstract
A novel parallel approach to implement particle swarm optimization(PSO) algorithm on graphic processing units(GPU) in a personal computer is proposed in this chapter. By using the general-purpose computing ability of GPU and under the software platform of compute unified device architecture(CUDA) which is developed by NVIDIA, the PSO algorithm can be executed in parallel on the GPU. The process of fitness evaluation, as well as the updating of the velocity and the position of all the particles in the swarm are parallelized and described in details in the context of this chapter. Experiments are conducted by running the PSO both on the GPU and the CPU, respectively, to optimize several benchmark test functions. The running time of the PSO based on GPU(GPU-PSO, for short) is greatly shortened compared to that of the PSO based on CPU(CPU-PSO, for short). A 40× speedup can be obtained by our implemented GPU-PSO on a display card of NVIDIA Geforce 9800GT, with the same optimizing performance. Compared to the CPU-PSO, the GPU-PSO has special speed advantages on large-scale population and high-dimensional problems which are often happened and widely used in a lot of real-world optimization applications.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.