Explorar o código

not only force calibration, but also save it

Samuel Thibault %!s(int64=15) %!d(string=hai) anos
pai
achega
7744ddcab2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/core/perfmodel/perfmodel_history.c

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

@@ -399,6 +399,7 @@ static void load_history_based_model(struct starpu_perfmodel_t *model, unsigned
 #endif
 		if (!calibrate_flag) {
 			fprintf(stderr, "Warning: model %s is not calibrated, forcing calibration for this run. Use the STARPU_CALIBRATE environment variable to control this.\n", model->symbol);
+			_starpu_set_calibrate_flag(1);
 			model->benchmarking = 1;
 		}
 		initialize_model(model);