Browse Source

Make MLR example show its perfmodel

Samuel Thibault 4 years ago
parent
commit
e4d7ab298c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      examples/mlr/mlr.c

+ 6 - 0
examples/mlr/mlr.c

@@ -202,5 +202,11 @@ int main(void)
 	free(vector_mn);
 	starpu_shutdown();
 
+	ret = starpu_init(NULL);
+	if (ret == -ENODEV)
+		return 77;
+	starpu_perfmodel_dump_xml(stdout, &cl_model_final);
+	starpu_shutdown();
+
 	return 0;
 }