Browse Source

examples/lu/lu_example.c: add printf to follow execution steps

Nathalie Furmento 13 years ago
parent
commit
b3050d7e9c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      examples/lu/lu_example.c

+ 4 - 0
examples/lu/lu_example.c

@@ -353,6 +353,7 @@ int main(int argc, char **argv)
 
 
 	if (profile)
 	if (profile)
 	{
 	{
+		FPRINTF(stderr, "Setting profile\n");
 		starpu_profiling_status_set(STARPU_PROFILING_DISABLE);
 		starpu_profiling_status_set(STARPU_PROFILING_DISABLE);
 		starpu_bus_profiling_helper_display_summary();
 		starpu_bus_profiling_helper_display_summary();
 	}
 	}
@@ -360,6 +361,7 @@ int main(int argc, char **argv)
 	if (bound)
 	if (bound)
 	{
 	{
 		double min;
 		double min;
+		FPRINTF(stderr, "Setting bound\n");
 		starpu_bound_stop();
 		starpu_bound_stop();
 		if (bounddeps)
 		if (bounddeps)
 		{
 		{
@@ -377,12 +379,14 @@ int main(int argc, char **argv)
 
 
 	if (check)
 	if (check)
 	{
 	{
+		FPRINTF(stderr, "Checking result\n");
 		if (pivot)
 		if (pivot)
 			pivot_saved_matrix(ipiv);
 			pivot_saved_matrix(ipiv);
 
 
 		check_result();
 		check_result();
 	}
 	}
 
 
+	FPRINTF(stderr, "Shutting down\n");
 	starpu_helper_cublas_shutdown();
 	starpu_helper_cublas_shutdown();
 
 
 	starpu_shutdown();
 	starpu_shutdown();