浏览代码

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 年之前
父节点
当前提交
19f1b2659f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 		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)
 	if (STARPU_BENCHMARK_COMM)