Browse Source

Bug fix: arch is the kind of worker (CUDA, CPU, OpenCL), perf_arch is the
identifier of the device in the perf model tables.

Cédric Augonnet 15 years ago
parent
commit
19f1b2659f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/drivers/driver_common/driver_common.c

+ 1 - 1
src/drivers/driver_common/driver_common.c

@@ -55,7 +55,7 @@ void _starpu_driver_update_job_feedback(starpu_job_t j, struct starpu_worker_s *
 		}
 
 		if (calibrate_model)
-			_starpu_update_perfmodel_history(j, worker_args->arch, worker_args->devid, measured);
+			_starpu_update_perfmodel_history(j, worker_args->perf_arch, worker_args->devid, measured);
 	}
 
 	if (STARPU_BENCHMARK_COMM)