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

SCM Repository

[diderot] Diff of /branches/vis12/src/include/Diderot/strands.h
ViewVC logotype

Diff of /branches/vis12/src/include/Diderot/strands.h

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

revision 1715, Sat Mar 10 14:42:07 2012 UTC revision 1716, Sat Mar 10 17:08:11 2012 UTC
# Line 23  Line 23 
23  typedef void (*convert_method_t)(void *st, void *);  typedef void (*convert_method_t)(void *st, void *);
24  typedef void (*output_method_t)(void *st, int i, void *dst);    // copy i'th output  typedef void (*output_method_t)(void *st, int i, void *dst);    // copy i'th output
25    
26  typedef enum {  enum {
27      nrrdTypeLength = nrrdTypeLast+1     //!< nrrd typecode for dynamic sequence lengths      nrrdTypeLength = nrrdTypeLast+1     //!< nrrd typecode for dynamic sequence lengths
28  };  };
29    
# Line 38  Line 38 
38  } OutputDesc_t;  } OutputDesc_t;
39    
40  /* hooks generated by the compiler for the runtime */  /* hooks generated by the compiler for the runtime */
41  typedef struct struct_strand {  struct struct_strand {
42      char                *name;          //!< name of strand      char                *name;          //!< name of strand
43      size_t              stateSzb;       //!< size of strand state in bytes      size_t              stateSzb;       //!< size of strand state in bytes
44  #if defined(DIDEROT_TARGET_CL)  #if defined(DIDEROT_TARGET_CL)
# Line 53  Line 53 
53  #endif  #endif
54      output_method_t     output;         //!< function for copying output state from the strand      output_method_t     output;         //!< function for copying output state from the strand
55                                          //!< state to the output nrrd                                          //!< state to the output nrrd
56  } Strand_t;  };
   
 extern int Diderot_NumStrands;          //!< the number of strands in the program  
 extern Strand_t *Diderot_Strands[];     //!< array of NumStrands strand descriptors  
   
 extern void Diderot_InitGlobals ();  
   
 extern Diderot_World_t *Diderot_Initially ();  
 extern void Diderot_Shutdown (Diderot_World_t *wrld);  
   
 /* Diderot library functions */  
   
 // block allocation of an initial collection of strands  
 extern Diderot_World_t *Diderot_AllocInitially (  
     const char *name,           // the name of the program  
     Strand_t *strand,           // the type of strands being allocated  
     bool isArray,               // is the initialization an array or collection?  
     uint32_t nDims,             // depth of iteration nesting  
     int32_t *base,              // nDims array of base indices  
     uint32_t *size);            // nDims array of iteration sizes  
57    
58  #endif /* !_DIDEROT_STRANDS_H_ */  #endif /* !_DIDEROT_STRANDS_H_ */

Legend:
Removed from v.1715  
changed lines
  Added in v.1716

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