[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/CoyoteBench/lpbench.c
Lauro Ramos Venancio
lauro.venancio at gmail.com
Thu May 3 13:06:45 PDT 2007
Changes in directory llvm-test/SingleSource/Benchmarks/CoyoteBench:
lpbench.c updated: 1.1 -> 1.2
---
Log message:
Implement SMALL_PROBLEM_SIZE.
---
Diffs of the changes: (+6 -0)
lpbench.c | 6 ++++++
1 files changed, 6 insertions(+)
Index: llvm-test/SingleSource/Benchmarks/CoyoteBench/lpbench.c
diff -u llvm-test/SingleSource/Benchmarks/CoyoteBench/lpbench.c:1.1 llvm-test/SingleSource/Benchmarks/CoyoteBench/lpbench.c:1.2
--- llvm-test/SingleSource/Benchmarks/CoyoteBench/lpbench.c:1.1 Sat Mar 4 16:35:18 2006
+++ llvm-test/SingleSource/Benchmarks/CoyoteBench/lpbench.c Thu May 3 15:06:22 2007
@@ -78,10 +78,16 @@
static const int NP1 = 601; // N + 1
#endif
#else
+#ifdef SMALL_PROBLEM_SIZE
+static const int N = 400;
+static const int NM1 = 399; // N - 1
+static const int NP1 = 401; // N + 1
+#else
static const int N = 2000;
static const int NM1 = 1999; // N - 1
static const int NP1 = 2001; // N + 1
#endif
+#endif
// benchmark code
void matgen (double ** a, double * b)
More information about the llvm-commits
mailing list