瀏覽代碼

Add archname not being calibrated

Samuel Thibault 13 年之前
父節點
當前提交
64ead86f78
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/core/perfmodel/perfmodel_history.c

+ 4 - 1
src/core/perfmodel/perfmodel_history.c

@@ -1018,7 +1018,10 @@ double _starpu_history_based_job_expected_perf(struct starpu_perfmodel *model, e
 
 	if (isnan(exp) && !model->benchmarking)
 	{
-		_STARPU_DISP("Warning: model %s is not calibrated enough, forcing calibration for this run. Use the STARPU_CALIBRATE environment variable to control this.\n", model->symbol);
+		char archname[32];
+
+		starpu_perfmodel_get_arch_name(arch, archname, sizeof(archname), nimpl);
+		_STARPU_DISP("Warning: model %s is not calibrated enough for %s, forcing calibration for this run. Use the STARPU_CALIBRATE environment variable to control this.\n", model->symbol, archname);
 		_starpu_set_calibrate_flag(1);
 		model->benchmarking = 1;
 	}