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.7 KB
|
| Rev | Line | |
|---|
| [a1acb0c5] | 1 | /**
|
|---|
| 2 | * 3mm.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 _3MM_H
|
|---|
| 10 | # define _3MM_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(NI) && !defined(NJ) && !defined(NK)
|
|---|
| 19 | /* Define the possible dataset sizes. */
|
|---|
| 20 | # ifdef TINY_DATASET
|
|---|
| 21 | # define NI 16
|
|---|
| 22 | # define NJ 16
|
|---|
| 23 | # define NK 16
|
|---|
| 24 | # define NL 16
|
|---|
| 25 | # define NM 16
|
|---|
| 26 | # endif
|
|---|
| 27 |
|
|---|
| 28 | # ifdef MINI_DATASET
|
|---|
| 29 | # define NI 32
|
|---|
| 30 | # define NJ 32
|
|---|
| 31 | # define NK 32
|
|---|
| 32 | # define NL 32
|
|---|
| 33 | # define NM 32
|
|---|
| 34 | # endif
|
|---|
| 35 |
|
|---|
| 36 | # ifdef SMALL_DATASET
|
|---|
| 37 | # define NI 128
|
|---|
| 38 | # define NJ 128
|
|---|
| 39 | # define NK 128
|
|---|
| 40 | # define NL 128
|
|---|
| 41 | # define NM 128
|
|---|
| 42 | # endif
|
|---|
| 43 |
|
|---|
| 44 | # ifdef STANDARD_DATASET /* Default if unspecified. */
|
|---|
| 45 | # define NI 1024
|
|---|
| 46 | # define NJ 1024
|
|---|
| 47 | # define NK 1024
|
|---|
| 48 | # define NL 1024
|
|---|
| 49 | # define NM 1024
|
|---|
| 50 | # endif
|
|---|
| 51 |
|
|---|
| 52 | # ifdef LARGE_DATASET
|
|---|
| 53 | # define NI 2000
|
|---|
| 54 | # define NJ 2000
|
|---|
| 55 | # define NK 2000
|
|---|
| 56 | # define NL 2000
|
|---|
| 57 | # define NM 2000
|
|---|
| 58 | # endif
|
|---|
| 59 |
|
|---|
| 60 | # ifdef EXTRALARGE_DATASET
|
|---|
| 61 | # define NI 4000
|
|---|
| 62 | # define NJ 4000
|
|---|
| 63 | # define NK 4000
|
|---|
| 64 | # define NL 4000
|
|---|
| 65 | # define NM 4000
|
|---|
| 66 | # endif
|
|---|
| 67 | # endif /* !N */
|
|---|
| 68 |
|
|---|
| 69 | # define _PB_NI POLYBENCH_LOOP_BOUND(NI,ni)
|
|---|
| 70 | # define _PB_NJ POLYBENCH_LOOP_BOUND(NJ,nj)
|
|---|
| 71 | # define _PB_NK POLYBENCH_LOOP_BOUND(NK,nk)
|
|---|
| 72 | # define _PB_NL POLYBENCH_LOOP_BOUND(NL,nl)
|
|---|
| 73 | # define _PB_NM POLYBENCH_LOOP_BOUND(NM,nm)
|
|---|
| 74 |
|
|---|
| 75 | # ifndef DATA_TYPE
|
|---|
| 76 | # define DATA_TYPE double
|
|---|
| 77 | # define DATA_PRINTF_MODIFIER "%0.2lf "
|
|---|
| 78 | # endif
|
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 | #endif /* !_3MM */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.