GPU-based asynchronous particle swarm optimization