source: CIVL/examples/omp/dataracebench-1.3.2/micro-benchmarks-fortran/polybench/3mm.h

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.6 KB
Line 
1/**
2 * 3mm.h: This file is part of the PolyBench/Fortran 1.0 test suite.
3 *
4 * Contact: Louis-Noel Pouchet <pouchet@cse.ohio-state.edu>
5 * Web address: http://polybench.sourceforge.net
6 */
7#ifndef _3MM_H
8# define _3MM_H
9
10/* Default to STANDARD_DATASET. */
11# if !defined(MINI_DATASET) && !defined(SMALL_DATASET) && !defined(LARGE_DATASET) && !defined(EXTRALARGE_DATASET)
12# define STANDARD_DATASET
13# endif
14
15/* Do not define anything if the user manually defines the size. */
16# if !defined(NI) && !defined(NJ) && !defined(NK)
17/* Define the possible dataset sizes. */
18# ifdef MINI_DATASET
19# define NI 32
20# define NJ 32
21# define NK 32
22# define NL 32
23# define NM 32
24# endif
25
26# ifdef SMALL_DATASET
27# define NI 128
28# define NJ 128
29# define NK 128
30# define NL 128
31# define NM 128
32# endif
33
34# ifdef STANDARD_DATASET /* Default if unspecified. */
35# define NI 1024
36# define NJ 1024
37# define NK 1024
38# define NL 1024
39# define NM 1024
40# endif
41
42# ifdef LARGE_DATASET
43# define NI 2000
44# define NJ 2000
45# define NK 2000
46# define NL 2000
47# define NM 2000
48# endif
49
50# ifdef EXTRALARGE_DATASET
51# define NI 4000
52# define NJ 4000
53# define NK 4000
54# define NL 4000
55# define NM 4000
56# endif
57# endif /* !N */
58
59# define _PB_NI POLYBENCH_LOOP_BOUND(NI,ni)
60# define _PB_NJ POLYBENCH_LOOP_BOUND(NJ,nj)
61# define _PB_NK POLYBENCH_LOOP_BOUND(NK,nk)
62# define _PB_NL POLYBENCH_LOOP_BOUND(NL,nl)
63# define _PB_NM POLYBENCH_LOOP_BOUND(NM,nm)
64
65# ifndef DATA_TYPE
66# define DATA_TYPE double precision
67# define DATA_PRINTF_MODIFIER "(f0.2,1x)", advance='no'
68# endif
69
70
71#endif /* !_3MM */
Note: See TracBrowser for help on using the repository browser.