source: CIVL/examples/omp/dataracebench-1.3.2/micro-benchmarks/utilities/template-for-new-benchmark.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.0 KB
Line 
1/**
2 * template.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 TEMPLATE_H
10# define TEMPLATE_H
11
12/* Default to STANDARD_DATASET. */
13# if !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(N)
19/* Define the possible dataset sizes. */
20# ifdef MINI_DATASET
21# define N 32
22# endif
23
24# ifdef SMALL_DATASET
25# define N 128
26# endif
27
28# ifdef STANDARD_DATASET /* Default if unspecified. */
29# define N 1024
30# endif
31
32# ifdef LARGE_DATASET
33# define N 2000
34# endif
35
36# ifdef EXTRALARGE_DATASET
37# define N 4000
38# endif
39# endif /* !N */
40
41# define _PB_N POLYBENCH_LOOP_BOUND(N,n)
42
43# ifndef DATA_TYPE
44# define DATA_TYPE double
45# define DATA_PRINTF_MODIFIER "%0.2lf "
46# endif
47
48
49#endif /* !TEMPLATE */
Note: See TracBrowser for help on using the repository browser.