Преглед изворни кода

tests/perfmodels/valid_model.c: typos

Nathalie Furmento пре 12 година
родитељ
комит
ebe0bd1b7d
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      tests/perfmodels/valid_model.c

+ 5 - 1
tests/perfmodels/valid_model.c

@@ -34,11 +34,13 @@ static struct starpu_perfmodel nlrb_model =
 	.symbol = "valid_model_non_linear_regression_based"
 	.symbol = "valid_model_non_linear_regression_based"
 };
 };
 
 
+#if 0
 static struct starpu_perfmodel hb_model =
 static struct starpu_perfmodel hb_model =
 {
 {
 	.type = STARPU_HISTORY_BASED,
 	.type = STARPU_HISTORY_BASED,
 	.symbol = "valid_model_history_based"
 	.symbol = "valid_model_history_based"
 };
 };
+#endif
 
 
 static struct starpu_codelet codelet =
 static struct starpu_codelet codelet =
 {
 {
@@ -121,7 +123,9 @@ int main(int argc, char **argv)
 	ret = submit(&codelet, &nlrb_model);
 	ret = submit(&codelet, &nlrb_model);
 	if (ret) return ret;
 	if (ret) return ret;
 
 
-#warning history based model cannot be validated with regression.nsample
+#ifdef STARPU_DEVEL
+#  warning history based model cannot be validated with regression.nsample
+#endif
 #if 0
 #if 0
 	/* Use a history model */
 	/* Use a history model */
 	ret = submit(&codelet, &hb_model);
 	ret = submit(&codelet, &hb_model);