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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2202 - (download) (annotate)
Sun Feb 24 17:22:25 2013 UTC (7 years, 9 months ago) by lamonts
File size: 917 byte(s)
Added Reallocated to Query Pool
typedef struct GridCtx@GRID_D@D GridContext;

#define QUERY_POOL_SIZE 100 
@DEFINE_GRID_DIMENSION@

typedef struct {
    uint32_t handle; 
    uint32_t size;       //the unique identification number for a strand  
    @STRANDTY@ ** pool;  //the next strand item in the list 
}QueryPool_t;

Diderot_DynSeq_t  * spherical_query@GRID_D@D(Strand_@STRAND@_t ** strands,
                                        Strand_@STRAND@_t * q_strandId, 
                                        GridContext * ctx,
                                        QueryPool_t * queryPool, 
                                         float radius); 

STATIC_INLINE Diderot_DynSeq_t * spherical_query(@STRANDTY@ ** strands,
                                 @STRANDTY@ * qStrand,
                                 GridContext * ctx,
                                 QueryPool_t * queryPool, 
                                 Diderot_real_t radius); 

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