Browse Source

Instead of "heat" we use the LU example (which does the same thing but is
slightly cleaner). The LU with implicit dependencies is also added to the test
list, and the default problem size is reduced so that make check may run on
machines with little RAM or processing power.

Cédric Augonnet 15 years ago
parent
commit
bbdd007b2d
2 changed files with 5 additions and 5 deletions
  1. 4 4
      examples/Makefile.am
  2. 1 1
      examples/lu/lu_example.c

+ 4 - 4
examples/Makefile.am

@@ -267,6 +267,10 @@ endif
 
 
 if !NO_BLAS_LIB
 if !NO_BLAS_LIB
 
 
+check_PROGRAMS +=				\
+	lu/lu_example_float			\
+	lu/lu_implicit_example_float
+
 examplebin_PROGRAMS += 				\
 examplebin_PROGRAMS += 				\
 	lu/lu_example_float			\
 	lu/lu_example_float			\
 	lu/lu_example_double
 	lu/lu_example_double
@@ -303,8 +307,6 @@ lu_lu_implicit_example_double_SOURCES =		\
 	lu/dlu_kernels.c			\
 	lu/dlu_kernels.c			\
 	common/blas.c
 	common/blas.c
 
 
-
-
 endif
 endif
 
 
 
 
@@ -314,8 +316,6 @@ endif
 
 
 if !NO_BLAS_LIB
 if !NO_BLAS_LIB
 
 
-check_PROGRAMS += heat/heat
-
 examplebin_PROGRAMS += heat/heat
 examplebin_PROGRAMS += heat/heat
 
 
 heat_heat_SOURCES =				\
 heat_heat_SOURCES =				\

+ 1 - 1
examples/lu/lu_example.c

@@ -24,7 +24,7 @@
 #include "xlu.h"
 #include "xlu.h"
 #include "xlu_kernels.h"
 #include "xlu_kernels.h"
 
 
-static unsigned long size = 16384;
+static unsigned long size = 4096;
 static unsigned nblocks = 16;
 static unsigned nblocks = 16;
 static unsigned check = 0;
 static unsigned check = 0;
 static unsigned pivot = 0;
 static unsigned pivot = 0;