|
@@ -99,6 +99,11 @@ static void display_perf_model(struct starpu_perfmodel_t *model, enum starpu_per
|
|
fprintf(stderr, "\t\tb = %le\n", arch_model->regression.b);
|
|
fprintf(stderr, "\t\tb = %le\n", arch_model->regression.b);
|
|
fprintf(stderr, "\t\tc = %le\n", arch_model->regression.c);
|
|
fprintf(stderr, "\t\tc = %le\n", arch_model->regression.c);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ char *debugname = malloc(1024);
|
|
|
|
+ starpu_perfmodel_debugfilepath(model, arch, &debugname, 1024);
|
|
|
|
+ free(debugname);
|
|
|
|
+ printf("\t debug file path : %s\n", debugname);
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
/* only display the parameter that was specifically requested */
|
|
/* only display the parameter that was specifically requested */
|
|
@@ -127,6 +132,14 @@ static void display_perf_model(struct starpu_perfmodel_t *model, enum starpu_per
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (strcmp(parameter, "path-file-debug") == 0) {
|
|
|
|
+ char *debugname = malloc(1024);
|
|
|
|
+ starpu_perfmodel_debugfilepath(model, arch, &debugname, 1024);
|
|
|
|
+ printf("%s\n", debugname);
|
|
|
|
+ free(debugname);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
/* TODO display if it's valid ? */
|
|
/* TODO display if it's valid ? */
|
|
|
|
|
|
fprintf(stderr, "Unknown parameter requested, aborting.\n");
|
|
fprintf(stderr, "Unknown parameter requested, aborting.\n");
|