SCM Repository
Diff of /branches/pure-cfg/src/include/Diderot/output.h
Parent Directory
|
Revision Log
|
Patch
revision 1517, Fri Oct 7 19:52:25 2011 UTC | revision 1518, Sat Oct 8 02:39:41 2011 UTC | |
---|---|---|
# | Line 11 | Line 11 |
11 | #ifndef _DIDEROT_OUTPUT_H_ | #ifndef _DIDEROT_OUTPUT_H_ |
12 | #define _DIDEROT_OUTPUT_H_ | #define _DIDEROT_OUTPUT_H_ |
13 | ||
14 | //! the integer typed used to represent the strand status array. | |
15 | #if defined(DIDEROT_TARGET_CL) | |
16 | typedef uint32_t StatusInt_t; | |
17 | #else | |
18 | typedef uint8_t StatusInt_t; | |
19 | #endif | |
20 | ||
21 | typedef struct { | typedef struct { |
22 | const char *name; //!< the program name | const char *name; //!< the program name |
23 | bool isArray; //!< is the initialization an array or collection? | bool isArray; //!< is the initialization an array or collection? |
24 | uint32_t numStrands; //!< number of strands in the world | uint32_t numStrands; //!< number of strands in the world |
25 | uint8_t *status; //!< array of strand status flags | StatusInt_t *status; //!< array of strand status flags |
26 | bool isStatusInt; | void **inState; //!< array of strand states holding the output values |
void **inState; | ||
27 | uint32_t nDims; //!< depth of iteration nesting | uint32_t nDims; //!< depth of iteration nesting |
28 | uint32_t *size; //!< nDims array of iteration sizes | uint32_t *size; //!< nDims array of iteration sizes |
29 | size_t outputSzb; //!< the output size of the strands | size_t outputSzb; //!< the output size of the strands |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |