[llvm-commits] CVS: llvm/test/Programs/MultiSource/Applications/sgefa/Makefile driver.c

Chris Lattner lattner at cs.uiuc.edu
Sun Jun 27 19:40:01 PDT 2004


Changes in directory llvm/test/Programs/MultiSource/Applications/sgefa:

Makefile updated: 1.5 -> 1.6
driver.c updated: 1.3 -> 1.4

---
Log message:

Eliminate PROGRAM_IS_NONDETERMINISTIC


---
Diffs of the changes:  (+5 -7)

Index: llvm/test/Programs/MultiSource/Applications/sgefa/Makefile
diff -u llvm/test/Programs/MultiSource/Applications/sgefa/Makefile:1.5 llvm/test/Programs/MultiSource/Applications/sgefa/Makefile:1.6
--- llvm/test/Programs/MultiSource/Applications/sgefa/Makefile:1.5	Sun Feb 29 21:23:35 2004
+++ llvm/test/Programs/MultiSource/Applications/sgefa/Makefile	Sun Jun 27 19:39:14 2004
@@ -2,13 +2,11 @@
 PROG     = sgefa
 LDFLAGS  = -lm
 
+FP_TOLERANCE = 0.0001
 ifdef LARGE_PROBLEM_SIZE
 CPPFLAGS = -DSCALE=50
 else
 CPPFLAGS = -DSCALE=40
 endif
 
-# This program is adversely effected by the underlying precision of the machine
-PROGRAM_IS_NONDETERMINISTIC = 1
-
 include	../../Makefile.multisrc


Index: llvm/test/Programs/MultiSource/Applications/sgefa/driver.c
diff -u llvm/test/Programs/MultiSource/Applications/sgefa/driver.c:1.3 llvm/test/Programs/MultiSource/Applications/sgefa/driver.c:1.4
--- llvm/test/Programs/MultiSource/Applications/sgefa/driver.c:1.3	Sun Oct 12 13:05:10 2003
+++ llvm/test/Programs/MultiSource/Applications/sgefa/driver.c	Sun Jun 27 19:39:14 2004
@@ -61,8 +61,8 @@
       }
       (void)vexopy( a.rd, b, x, b, 2 );
       err = snrm2( a.rd, b, 1 );
-      printf(" For Ax=b.    Absolute error = %e.  Relative error = %e.\n",
-	     err, err/snrm2( a.rd, x, 1 ) );
+      //printf(" For Ax=b.    Absolute error = %e.  Relative error = %e.\n",
+      //       err, err/snrm2( a.rd, x, 1 ) );
 
       /* Solve transpose system. */
       (void)sgesl( &a, ipvt, bt, 1 );
@@ -71,8 +71,8 @@
       }
       (void)vexopy( a.rd, bt, x, bt, 2 );
       err = snrm2( a.rd, bt, 1 );
-      printf(" For A^Tx=b.  Absolute error = %e.  Relative error = %e.\n",
-	     err, err/snrm2( a.rd, x, 1 ) );
+      //printf(" For A^Tx=b.  Absolute error = %e.  Relative error = %e.\n",
+      //       err, err/snrm2( a.rd, x, 1 ) );
     }
   }				/* End of while loop over test cases. */
 }				/* End of MAIN */





More information about the llvm-commits mailing list