Run grid search in parallel on all cpus.