source: CIVL/examples/omp/dataracebench-1.3.2/micro-benchmarks-fortran/polybench/adi.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.2 KB
RevLine 
[a1acb0c5]1/**
[e3f356c]2 * adi.h: This file is part of the PolyBench/Fortran 1.0 test suite.
[a1acb0c5]3 *
4 * Contact: Louis-Noel Pouchet <pouchet@cse.ohio-state.edu>
5 * Web address: http://polybench.sourceforge.net
6 */
7#ifndef ADI_H
8# define ADI_H
9
10/* Default to STANDARD_DATASET. */
[e3f356c]11# if !defined(MINI_DATASET) && !defined(SMALL_DATASET) && !defined(LARGE_DATASET) && !defined(EXTRALARGE_DATASET)
[a1acb0c5]12# define STANDARD_DATASET
13# endif
14
15/* Do not define anything if the user manually defines the size. */
16# if !defined(TSTEPS) && ! defined(N)
17/* Define the possible dataset sizes. */
18# ifdef MINI_DATASET
19# define TSTEPS 2
20# define N 32
21# endif
22
23# ifdef SMALL_DATASET
24# define TSTEPS 10
25# define N 500
26# endif
27
28# ifdef STANDARD_DATASET /* Default if unspecified. */
29# define TSTEPS 50
30# define N 1024
31# endif
32
33# ifdef LARGE_DATASET
34# define TSTEPS 50
35# define N 2000
36# endif
37
38# ifdef EXTRALARGE_DATASET
39# define TSTEPS 100
40# define N 4000
41# endif
42# endif /* !N */
43
44# define _PB_TSTEPS POLYBENCH_LOOP_BOUND(TSTEPS,tsteps)
45# define _PB_N POLYBENCH_LOOP_BOUND(N,n)
46
47# ifndef DATA_TYPE
[e3f356c]48# define DATA_TYPE double precision
49# define DATA_PRINTF_MODIFIER "(f0.2,1x)", advance='no'
[a1acb0c5]50# endif
51
52
53#endif /* !ADI */
Note: See TracBrowser for help on using the repository browser.