/[escript]/trunk/paso/src/Pattern.h
ViewVC logotype

Diff of /trunk/paso/src/Pattern.h

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

revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC revision 1881 by artak, Tue Oct 14 04:34:09 2008 UTC
# Line 47  typedef struct Paso_Pattern { Line 47  typedef struct Paso_Pattern {
47    dim_t reference_counter;    dim_t reference_counter;
48  } Paso_Pattern;  } Paso_Pattern;
49    
50    #define INDEXLIST_LENGTH 85
51    
52    typedef struct Paso_IndexList {
53      index_t index[INDEXLIST_LENGTH];
54      dim_t n;
55      struct Paso_IndexList *extension;
56    } Paso_IndexList;
57  /*  interfaces: */  /*  interfaces: */
58    
59  Paso_Pattern* Paso_Pattern_alloc(int type, dim_t input_block_size, dim_t output_block_size, dim_t numOutput, dim_t numInput, index_t* ptr, index_t* index);  Paso_Pattern* Paso_Pattern_alloc(int type, dim_t input_block_size, dim_t output_block_size, dim_t numOutput, dim_t numInput, index_t* ptr, index_t* index);
# Line 59  bool_t Paso_Pattern_isEmpty(Paso_Pattern Line 66  bool_t Paso_Pattern_isEmpty(Paso_Pattern
66  void Paso_Pattern_mis(Paso_Pattern* pattern_p, index_t* mis_marker);  void Paso_Pattern_mis(Paso_Pattern* pattern_p, index_t* mis_marker);
67  void Paso_Pattern_reduceBandwidth(Paso_Pattern* self,index_t* oldToNew);  void Paso_Pattern_reduceBandwidth(Paso_Pattern* self,index_t* oldToNew);
68  void Paso_Pattern_color(Paso_Pattern* patter, index_t* num_colors, index_t* colorOf);  void Paso_Pattern_color(Paso_Pattern* patter, index_t* num_colors, index_t* colorOf);
69    Paso_Pattern* Paso_Pattern_multiply(int type, Paso_Pattern* A, Paso_Pattern* B);
70    Paso_Pattern* Paso_Pattern_binop(int type, Paso_Pattern* A, Paso_Pattern* B);
71    
72    void Paso_IndexList_insertIndex(Paso_IndexList*, index_t);
73    void Paso_IndexList_toArray(Paso_IndexList*, index_t*, index_t, index_t, index_t);
74    dim_t Paso_IndexList_count(Paso_IndexList*,  index_t, index_t);
75    void Paso_IndexList_free(Paso_IndexList*);
76    Paso_Pattern* Paso_IndexList_createPattern(dim_t n0, dim_t n,Paso_IndexList* index_list,index_t range_min,index_t range_max, index_t index_offset);
77    
78  #endif /* #ifndef INC_PASO_SYSTEMPATTERN */  #endif /* #ifndef INC_PASO_SYSTEMPATTERN */

Legend:
Removed from v.1811  
changed lines
  Added in v.1881

  ViewVC Help
Powered by ViewVC 1.1.26