blob: 1b1fbba8aa6b14cf35b53da2d028279755dcfa23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*@@
@file pugh_constants.h
@date
@author
@desc
@enddesc
@version $Id$
@@*/
/* Pre-processor constants start with PUGH_ */
/* Constants for the comm directions */
#define PUGH_NOCOMM 0
#define PUGH_ALLCOMM 1
#define PUGH_PLUSFACESCOMM 2
#define PUGH_MINUSFACESCOMM 3
#define PUGH_COMM(i) i+4
/* Constants for the storage */
#define PUGH_NOSTORAGE 0
#define PUGH_STORAGE 1
/* Comm types available */
#define PUGH_NOCOMMBUFFERS 0
#define PUGH_ALLOCATEDBUFFERS 1
#define PUGH_DERIVEDTYPES 2
/* Termination flags */
#define TERMINATION_NOT_RAISED 0 /* no termination flag, inital setting */
#define TERMINATION_RAISED_LOCAL 1 /* raised on one pe, has to be broadcasted */
#define TERMINATION_RAISED_BRDCAST 2 /* flag now available on all pes: termiante */
/* PUGH error flags */
#define PUGH_SUCCESS 0
#define PUGH_ERROR -1
#define PUGH_ERRORMEMORY -2
|