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

SCM Repository

[diderot] Diff of /branches/lamont/src/compiler/c-target/fragments/c-hdr-grid-extra.in
ViewVC logotype

Diff of /branches/lamont/src/compiler/c-target/fragments/c-hdr-grid-extra.in

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

revision 2200, Sun Feb 24 15:16:01 2013 UTC revision 2201, Sun Feb 24 16:02:12 2013 UTC
# Line 1  Line 1 
1  typedef struct GridCtx@GRID_D@D GridContext;  typedef struct GridCtx@GRID_D@D GridContext;
2    
3  #define QUERY_POOL_SIZE 300  #define QUERY_POOL_SIZE 300
4    @DEFINE_GRID_DIMENSION@
5    
6  typedef struct {  typedef struct {
7      uint32_t handle;      uint32_t handle;
# Line 8  Line 9 
9      @STRANDTY@ ** pool;  //the next strand item in the list      @STRANDTY@ ** pool;  //the next strand item in the list
10  }QueryPool_t;  }QueryPool_t;
11    
 void buildGrid@GRID_D@D(@STRANDTY@ ** strands, GridContext * ctx);  
   
12  Diderot_DynSeq_t  * spherical_query@GRID_D@D(Strand_@STRAND@_t ** strands,  Diderot_DynSeq_t  * spherical_query@GRID_D@D(Strand_@STRAND@_t ** strands,
13                                          Strand_@STRAND@_t * q_strandId,                                          Strand_@STRAND@_t * q_strandId,
14                                          GridContext * ctx,                                          GridContext * ctx,
15                                          QueryPool_t * queryPool,                                          QueryPool_t * queryPool,
16                                           float radius);                                           float radius);
17    
18  Diderot_DynSeq_t * spherical_query(@STRANDTY@ ** strands,  STATIC_INLINE Diderot_DynSeq_t * spherical_query(@STRANDTY@ ** strands,
19                                   @STRANDTY@ * qStrand,                                   @STRANDTY@ * qStrand,
20                                   GridContext * ctx,                                   GridContext * ctx,
21                                   QueryPool_t * queryPool,                                   QueryPool_t * queryPool,

Legend:
Removed from v.2200  
changed lines
  Added in v.2201

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