main
|
Last change
on this file was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago |
|
Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100755
|
|
File size:
1.3 KB
|
| Rev | Line | |
|---|
| [a1acb0c5] | 1 | /**
|
|---|
| 2 | * jacobi-2d-imper.h: This file is part of the PolyBench/C 3.2 test suite.
|
|---|
| 3 | *
|
|---|
| 4 | *
|
|---|
| 5 | * Contact: Louis-Noel Pouchet <pouchet@cse.ohio-state.edu>
|
|---|
| 6 | * Web address: http://polybench.sourceforge.net
|
|---|
| 7 | * License: /LICENSE.OSU.txt
|
|---|
| 8 | */
|
|---|
| 9 | #ifndef JACOBI_2D_IMPER_H
|
|---|
| 10 | # define JACOBI_2D_IMPER_H
|
|---|
| 11 |
|
|---|
| 12 | /* Default to STANDARD_DATASET. */
|
|---|
| 13 | # if !defined(TINY_DATASET) && !defined(MINI_DATASET) && !defined(SMALL_DATASET) && !defined(LARGE_DATASET) && !defined(EXTRALARGE_DATASET)
|
|---|
| 14 | # define STANDARD_DATASET
|
|---|
| 15 | # endif
|
|---|
| 16 |
|
|---|
| 17 | /* Do not define anything if the user manually defines the size. */
|
|---|
| 18 | # if !defined(TSTEPS) && ! defined(N)
|
|---|
| 19 | /* Define the possible dataset sizes. */
|
|---|
| 20 | # ifdef TINY_DATASET
|
|---|
| 21 | # define TSTEPS 2
|
|---|
| 22 | # define N 16
|
|---|
| 23 | # endif
|
|---|
| 24 |
|
|---|
| 25 | # ifdef MINI_DATASET
|
|---|
| 26 | # define TSTEPS 2
|
|---|
| 27 | # define N 32
|
|---|
| 28 | # endif
|
|---|
| 29 |
|
|---|
| 30 | # ifdef SMALL_DATASET
|
|---|
| 31 | # define TSTEPS 10
|
|---|
| 32 | # define N 500
|
|---|
| 33 | # endif
|
|---|
| 34 |
|
|---|
| 35 | # ifdef STANDARD_DATASET /* Default if unspecified. */
|
|---|
| 36 | # define TSTEPS 20
|
|---|
| 37 | # define N 1000
|
|---|
| 38 | # endif
|
|---|
| 39 |
|
|---|
| 40 | # ifdef LARGE_DATASET
|
|---|
| 41 | # define TSTEPS 20
|
|---|
| 42 | # define N 2000
|
|---|
| 43 | # endif
|
|---|
| 44 |
|
|---|
| 45 | # ifdef EXTRALARGE_DATASET
|
|---|
| 46 | # define TSTEPS 100
|
|---|
| 47 | # define N 4000
|
|---|
| 48 | # endif
|
|---|
| 49 | # endif /* !N */
|
|---|
| 50 |
|
|---|
| 51 | # define _PB_TSTEPS POLYBENCH_LOOP_BOUND(TSTEPS,tsteps)
|
|---|
| 52 | # define _PB_N POLYBENCH_LOOP_BOUND(N,n)
|
|---|
| 53 |
|
|---|
| 54 | # ifndef DATA_TYPE
|
|---|
| 55 | # define DATA_TYPE double
|
|---|
| 56 | # define DATA_PRINTF_MODIFIER "%0.2lf "
|
|---|
| 57 | # endif
|
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 | #endif /* !JACOBI_2D_IMPER */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.