Applied Sciences (Jan 2023)

Acceleration of Particle Swarm Optimization with AVX Instructions

  • Jakub Safarik,
  • Vaclav Snasel

DOI
https://doi.org/10.3390/app13020734
Journal volume & issue
Vol. 13, no. 2
p. 734

Abstract

Read online

Parallel implementations of algorithms are usually compared with single-core CPU performance. The advantage of multicore vector processors decreases the performance gap between GPU and CPU computation, as shown in many recent pieces of research. With the AVX-512 instruction set, there will be another performance boost for CPU computations. The availability of parallel code running on CPUs made them much easier and more accessible than GPUs. This article compares the performances of parallel implementations of the particle swarm optimization algorithm. The code was written in C++, and we used various techniques to obtain parallel execution through Advanced Vector Extensions. We present the performance on various benchmark functions and different problem configurations. The article describes and compares the performance boost gained from parallel execution on CPU, along with advantages and disadvantages of parallelization techniques.

Keywords