CUDA program for genetic algorithm.