1 : |
dalvarez |
1 |
/*****************************************************************************/
|
2 : |
|
|
/* */
|
3 : |
|
|
/* Copyright (c) 2008, 2009, 2010 */
|
4 : |
|
|
/* Computer Architecture Group (CAG) */
|
5 : |
|
|
/* University of A Coruña, Spain */
|
6 : |
|
|
/* (http://gac.des.udc.es) */
|
7 : |
|
|
/* Galicia Supercomputing Center (CESGA) */
|
8 : |
|
|
/* (http://www.cesga.es) */
|
9 : |
|
|
/* Hewlett-Packard Spain (HP) */
|
10 : |
|
|
/* (http://www.hp.es) */
|
11 : |
|
|
/* */
|
12 : |
|
|
/* This file is part of UPC Operations Microbenchmarking Suite (UOMS). */
|
13 : |
|
|
/* */
|
14 : |
|
|
/* UOMS is free software: you can redistribute it and/or modify */
|
15 : |
|
|
/* it under the terms of the GNU Lesser General Public License as published */
|
16 : |
|
|
/* by the Free Software Foundation, either version 3 of the License, or */
|
17 : |
|
|
/* (at your option) any later version. */
|
18 : |
|
|
/* */
|
19 : |
|
|
/* UOMS is distributed in the hope that it will be useful, */
|
20 : |
|
|
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
|
21 : |
|
|
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
|
22 : |
|
|
/* GNU Lesser General Public License for more details. */
|
23 : |
|
|
/* */
|
24 : |
|
|
/* You should have received a copy of the GNU Lesser General Public License */
|
25 : |
|
|
/* along with UOMS. If not, see <http://www.gnu.org/licenses/>. */
|
26 : |
|
|
/* */
|
27 : |
|
|
/*****************************************************************************/
|
28 : |
|
|
|
29 : |
|
|
/*****************************************************************************/
|
30 : |
|
|
/* */
|
31 : |
|
|
/* FUNDING: This development has been funded by Hewlett-Packard Spain */
|
32 : |
|
|
/* */
|
33 : |
|
|
/* Project Name: */
|
34 : |
|
|
/* UPCHACO (2008-2011) */
|
35 : |
|
|
/* Subproject: */
|
36 : |
|
|
/* Improving UPC Usability and Performance in Constellation Systems: */
|
37 : |
|
|
/* Implementation/Extensions of UPC Libraries. */
|
38 : |
|
|
/* (UPCPUProject -> UPC Performance and Usability Project) */
|
39 : |
|
|
/* */
|
40 : |
|
|
/*****************************************************************************/
|
41 : |
|
|
|
42 : |
|
|
/*****************************************************************************
|
43 : |
|
|
|
44 : |
|
|
For further documentation, see
|
45 : |
|
|
|
46 : |
|
|
[1] Files under doc/
|
47 : |
|
|
|
48 : |
|
|
******************************************************************************/
|
49 : |
|
|
|
50 : |
|
|
/*
|
51 : |
|
|
Uncomment the following line to override or manually specify the number of cores
|
52 : |
|
|
in each node
|
53 : |
|
|
*/
|
54 : |
|
|
//#define NUMCORES 16
|
55 : |
|
|
|
56 : |
|
|
/*
|
57 : |
|
|
Comment the following line to deactivate the testing of asynchronous functions
|
58 : |
|
|
*/
|
59 : |
|
|
#define ASYNC_MEM_TEST
|
60 : |
|
|
|
61 : |
|
|
/*
|
62 : |
dalvarez |
7 |
Comment the following line to deactivate the testing of asynchronous functions with
|
63 : |
|
|
implicit handler
|
64 : |
|
|
*/
|
65 : |
|
|
#define ASYNCI_MEM_TEST
|
66 : |
|
|
|
67 : |
|
|
/*
|
68 : |
dalvarez |
1 |
MINSIZE and MAXSIZE must be power of 2
|
69 : |
|
|
*/
|
70 : |
|
|
#define MINSIZE 4
|
71 : |
|
|
#define MAXSIZE 16*1024*1024
|