Parcourir la source

Prefixing of src/core/perfmodel/regression.h

find . -type f -not -name "*svn*"|xargs sed -i s/"\bregression_non_linear_power\b"/_starpu_regression_non_linear_power/g
Nathalie Furmento il y a 15 ans
Parent
commit
78637befaf

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

@@ -148,7 +148,7 @@ static void dump_per_arch_model_file(FILE *f, struct starpu_per_arch_perfmodel_t
 	dump_reg_model(f, &per_arch_model->regression);
 
 	double a,b,c;
-	regression_non_linear_power(per_arch_model->list, &a, &b, &c);
+	_starpu_regression_non_linear_power(per_arch_model->list, &a, &b, &c);
 	fprintf(f, "# a\t\tb\t\tc\n");
 	fprintf(f, "%-15le\t%-15le\t%-15le\n", a, b, c);
 

+ 1 - 1
src/core/perfmodel/regression.c

@@ -158,7 +158,7 @@ static void dump_list(unsigned *x, double *y, struct starpu_history_list_t *list
  * 	return 0 if success, -1 otherwise
  * 	if success, a, b and c are modified
  * */
-int regression_non_linear_power(struct starpu_history_list_t *ptr, double *a, double *b, double *c)
+int _starpu_regression_non_linear_power(struct starpu_history_list_t *ptr, double *a, double *b, double *c)
 {
 	unsigned n = find_list_size(ptr);
 

+ 1 - 1
src/core/perfmodel/regression.h

@@ -23,6 +23,6 @@
 #include <core/perfmodel/perfmodel.h>
 #include <starpu.h>
 
-int regression_non_linear_power(struct starpu_history_list_t *ptr, double *a, double *b, double *c);
+int _starpu_regression_non_linear_power(struct starpu_history_list_t *ptr, double *a, double *b, double *c);
 
 #endif // __REGRESSION_H__