[test-suite] r175246 - Added Small Problem Size support to most tests in Benchmarks/Polybench/stencil/.

Michael Gottesman mgottesman at apple.com
Thu Feb 14 19:13:28 PST 2013


Author: mgottesman
Date: Thu Feb 14 21:13:28 2013
New Revision: 175246

URL: http://llvm.org/viewvc/llvm-project?rev=175246&view=rev
Log:
Added Small Problem Size support to most tests in Benchmarks/Polybench/stencil/.

Specifically I added said support for:

1. adi.
2. fdtd-2d.
3. fdtd-apml.
4. jacobi-2d-imper.
5. seidel-2d.

rdar://11907111.

Added:
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/adi.reference_output.small
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/fdtd-2d.reference_output.small
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/fdtd-apml.reference_output.small
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/jacobi-2d-imper.reference_output.small
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/seidel-2d.reference_output.small
Modified:
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/Makefile
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/Makefile
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/Makefile
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/Makefile
    test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/Makefile

Modified: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/Makefile?rev=175246&r1=175245&r2=175246&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/Makefile Thu Feb 14 21:13:28 2013
@@ -4,6 +4,10 @@ POLYBENCH_UTILS = SingleSource/Benchmark
 PROG          = adi
 CFLAGS        += -I $(PROJ_SRC_ROOT)/$(POLYBENCH_UTILS) -DPOLYBENCH_DUMP_ARRAYS
 
+ifdef SMALL_PROBLEM_SIZE
+CFLAGS += -DSMALL_DATASET
+endif
+
 HASH_PROGRAM_OUTPUT = 1
 
 include $(LEVEL)/SingleSource/Makefile.singlesrc

Added: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/adi.reference_output.small
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/adi.reference_output.small?rev=175246&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/adi.reference_output.small (added)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/adi/adi.reference_output.small Thu Feb 14 21:13:28 2013
@@ -0,0 +1 @@
+3d3f4195b44049d25bcad04741e9b671

Modified: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/Makefile?rev=175246&r1=175245&r2=175246&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/Makefile Thu Feb 14 21:13:28 2013
@@ -4,6 +4,10 @@ POLYBENCH_UTILS = SingleSource/Benchmark
 PROG          = fdtd-2d
 CFLAGS        += -I $(PROJ_SRC_ROOT)/$(POLYBENCH_UTILS) -DPOLYBENCH_DUMP_ARRAYS
 
+ifdef SMALL_PROBLEM_SIZE
+CFLAGS += -DSMALL_DATASET
+endif
+
 HASH_PROGRAM_OUTPUT = 1
 
 include $(LEVEL)/SingleSource/Makefile.singlesrc

Added: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/fdtd-2d.reference_output.small
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/fdtd-2d.reference_output.small?rev=175246&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/fdtd-2d.reference_output.small (added)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-2d/fdtd-2d.reference_output.small Thu Feb 14 21:13:28 2013
@@ -0,0 +1 @@
+9246a4ce3e2d09992a0bff0693f4ac3c

Modified: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/Makefile?rev=175246&r1=175245&r2=175246&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/Makefile Thu Feb 14 21:13:28 2013
@@ -4,6 +4,10 @@ POLYBENCH_UTILS = SingleSource/Benchmark
 PROG          = fdtd-apml
 CFLAGS        += -I $(PROJ_SRC_ROOT)/$(POLYBENCH_UTILS) -DPOLYBENCH_DUMP_ARRAYS
 
+ifdef SMALL_PROBLEM_SIZE
+CFLAGS += -DSMALL_DATASET
+endif
+
 HASH_PROGRAM_OUTPUT = 1
 
 include $(LEVEL)/SingleSource/Makefile.singlesrc

Added: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/fdtd-apml.reference_output.small
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/fdtd-apml.reference_output.small?rev=175246&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/fdtd-apml.reference_output.small (added)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/fdtd-apml/fdtd-apml.reference_output.small Thu Feb 14 21:13:28 2013
@@ -0,0 +1 @@
+2106d674b5073dd2209dc6d1e2131fa6

Modified: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/Makefile?rev=175246&r1=175245&r2=175246&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/Makefile Thu Feb 14 21:13:28 2013
@@ -4,6 +4,10 @@ POLYBENCH_UTILS = SingleSource/Benchmark
 PROG          = jacobi-2d-imper
 CFLAGS        += -I $(PROJ_SRC_ROOT)/$(POLYBENCH_UTILS) -DPOLYBENCH_DUMP_ARRAYS
 
+ifdef SMALL_PROBLEM_SIZE
+CFLAGS += -DSMALL_DATASET
+endif
+
 HASH_PROGRAM_OUTPUT = 1
 
 include $(LEVEL)/SingleSource/Makefile.singlesrc

Added: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/jacobi-2d-imper.reference_output.small
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/jacobi-2d-imper.reference_output.small?rev=175246&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/jacobi-2d-imper.reference_output.small (added)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/jacobi-2d-imper/jacobi-2d-imper.reference_output.small Thu Feb 14 21:13:28 2013
@@ -0,0 +1 @@
+cc4e73b94e2b16da2a2cad3694c4bb8f

Modified: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/Makefile?rev=175246&r1=175245&r2=175246&view=diff
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/Makefile (original)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/Makefile Thu Feb 14 21:13:28 2013
@@ -4,6 +4,10 @@ POLYBENCH_UTILS = SingleSource/Benchmark
 PROG          = seidel-2d
 CFLAGS        += -I $(PROJ_SRC_ROOT)/$(POLYBENCH_UTILS) -DPOLYBENCH_DUMP_ARRAYS
 
+ifdef SMALL_PROBLEM_SIZE
+CFLAGS += -DSMALL_DATASET
+endif
+
 HASH_PROGRAM_OUTPUT = 1
 
 include $(LEVEL)/SingleSource/Makefile.singlesrc

Added: test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/seidel-2d.reference_output.small
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/seidel-2d.reference_output.small?rev=175246&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/seidel-2d.reference_output.small (added)
+++ test-suite/trunk/SingleSource/Benchmarks/Polybench/stencils/seidel-2d/seidel-2d.reference_output.small Thu Feb 14 21:13:28 2013
@@ -0,0 +1 @@
+cc4e73b94e2b16da2a2cad3694c4bb8f





More information about the llvm-commits mailing list