Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/include/Diderot/strands.h
ViewVC logotype

Diff of /branches/pure-cfg/src/include/Diderot/strands.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1518, Sat Oct 8 02:39:41 2011 UTC revision 1519, Sun Oct 9 18:30:16 2011 UTC
# Line 14  Line 14 
14  #ifndef _DIDEROT_TYPES_H_  #ifndef _DIDEROT_TYPES_H_
15  #include "Diderot/types.h"  #include "Diderot/types.h"
16  #endif  #endif
17    #ifndef _DIDEROT_WORLD_H_
18    #  include "Diderot/world.h"
19    #endif
20    
21  typedef StrandStatus_t (*update_method_t)(void *, void *);  typedef StrandStatus_t (*update_method_t)(void *, void *);
22  typedef void (*stabilize_method_t)(void *, void *);  typedef void (*stabilize_method_t)(void *, void *);
# Line 42  Line 45 
45  extern int Diderot_NumStrands;          //!< the number of strands in the program  extern int Diderot_NumStrands;          //!< the number of strands in the program
46  extern Strand_t *Diderot_Strands[];     //!< array of NumStrands strand descriptors  extern Strand_t *Diderot_Strands[];     //!< array of NumStrands strand descriptors
47    
 typedef struct struct_world Diderot_World_t;  
   
48  extern void Diderot_InitGlobals ();  extern void Diderot_InitGlobals ();
49    
50  extern Diderot_World_t *Diderot_Initially ();  extern Diderot_World_t *Diderot_Initially ();
# Line 60  Line 61 
61      int32_t *base,              // nDims array of base indices      int32_t *base,              // nDims array of base indices
62      uint32_t *size);            // nDims array of iteration sizes      uint32_t *size);            // nDims array of iteration sizes
63    
 // get strand state pointers  
 extern void *Diderot_InState (Diderot_World_t *wrld, uint32_t i);  
 extern void *Diderot_OutState (Diderot_World_t *wrld, uint32_t i);  
 extern bool Diderot_IsActive (Diderot_World_t *wrld, uint32_t i);  
   
 // strand allocation (no initializtion)  
 extern void *Diderot_AllocStrand (Strand_t *strand);  
   
64  #endif /* !_DIDEROT_STRANDS_H_ */  #endif /* !_DIDEROT_STRANDS_H_ */

Legend:
Removed from v.1518  
changed lines
  Added in v.1519

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0