Browse Source

Fix LU simgrid build

Samuel Thibault 6 years ago
parent
commit
c94721f383
2 changed files with 6 additions and 6 deletions
  1. 4 4
      examples/Makefile.am
  2. 2 2
      examples/lu/lu_example.c

+ 4 - 4
examples/Makefile.am

@@ -299,6 +299,10 @@ if !NO_BLAS_LIB
 STARPU_EXAMPLES +=				\
 	mult/sgemm 				\
 	mult/dgemm				\
+	lu/lu_example_float			\
+	lu/lu_example_double			\
+	lu/lu_implicit_example_float		\
+	lu/lu_implicit_example_double		\
 	cholesky/cholesky_tag			\
 	cholesky/cholesky_tile_tag		\
 	cholesky/cholesky_implicit		\
@@ -308,10 +312,6 @@ if !STARPU_SIMGRID
 STARPU_EXAMPLES +=				\
 	axpy/axpy				\
 	cholesky/cholesky_grain_tag		\
-	lu/lu_example_float			\
-	lu/lu_example_double			\
-	lu/lu_implicit_example_float		\
-	lu/lu_implicit_example_double		\
 	heat/heat				\
 	cg/cg					\
 	pipeline/pipeline

+ 2 - 2
examples/lu/lu_example.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009-2017                                Université de Bordeaux
+ * Copyright (C) 2009-2017,2019                           Université de Bordeaux
  * Copyright (C) 2011,2012                                Inria
  * Copyright (C) 2010-2013,2015-2018                      CNRS
  *
@@ -435,10 +435,10 @@ int main(int argc, char **argv)
 
 		check_result();
 	}
-#endif
 
 	if (pivot)
 		free(ipiv);
+#endif
 
 	starpu_free_flags(A, (size_t)size*size*sizeof(TYPE), STARPU_MALLOC_PINNED|STARPU_MALLOC_SIMULATION_FOLDED);