Towards an OpenCL implementation of genetic algorithms on GPUs

  • Authors:
  • Tadeusz Puź/niakowski;Marek A. Bednarczyk

  • Affiliations:
  • Institute of Informatics, University of Gda$#324/sk, Gda$#324/sk, Poland;Faculty of Informatics, Polish-Japanese Institute of Information Technology, Poland

  • Venue:
  • SIIS'11 Proceedings of the 2011 international conference on Security and Intelligent Information Systems
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

The paper compares usual sequential implementations in C of a Genetic Algorithm with parallel implementations in OpenCL. It turns out that the speedup obtained by turning parallel depends on the choice of the selection methods used in GA. In particular the simple tournament selection method yields better results than the selection based on the roulette rule. In case of the latter which requires a synchronization of threads which manipulate individual chromosomes. This is done to compute the joint fitness of a population and find the best specimen. With the help of scan method this can be achieved with O(logn) complexity.