Find head position with PSO algorithm, using best finded device (GPU, CPU)