Quellcode durchsuchen

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 vor 16 Jahren
Ursprung
Commit
bbdd007b2d
2 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen
  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
 
+check_PROGRAMS +=				\
+	lu/lu_example_float			\
+	lu/lu_implicit_example_float
+
 examplebin_PROGRAMS += 				\
 	lu/lu_example_float			\
 	lu/lu_example_double
@@ -303,8 +307,6 @@ lu_lu_implicit_example_double_SOURCES =		\
 	lu/dlu_kernels.c			\
 	common/blas.c
 
-
-
 endif
 
 
@@ -314,8 +316,6 @@ endif
 
 if !NO_BLAS_LIB
 
-check_PROGRAMS += heat/heat
-
 examplebin_PROGRAMS += heat/heat
 
 heat_heat_SOURCES =				\

+ 1 - 1
examples/lu/lu_example.c

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