/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk

« back to all changes in this revision

Viewing changes to dict_hw/src/normxcorr_hw.h

  • Committer: Suren A. Chilingaryan
  • Date: 2010-04-26 03:58:12 UTC
  • Revision ID: csa@dside.dyndns.org-20100426035812-st93op9yj551wi3b
Multipass mode and re-initialization fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#define MODE_COEFFICIENT        0       // 0 - always fragment, infinity - always image
25
25
#define USE_UNDOCUMENTED
26
26
 
27
 
#define CUDA_EXTRA_MEMORY       67108864        // 64MB
 
27
#define CUDA_EXTRA_MEMORY       (3 * 67108864)  // 64MB
 
28
#define CUDA_MIN_MEMORY         (8 * 67108864)  // 512MB
28
29
//#define USE_SSE
29
30
 
30
31
#ifdef DICT_SUPPORT_THREADS
72
73
    
73
74
 
74
75
    int fft_initialized;                // Flag indicating if CUFFT plan is initialized
75
 
    cufftHandle cufft_plan;
76
76
    cufftHandle cufft_r2c_plan;
77
77
    cufftHandle cufft_c2r_plan;
78
78
    
132
132
    int ncp;
133
133
    int ncp_alloc_size;
134
134
    int ncp_per_device;
 
135
    int configured_ncp;
135
136
 
136
137
    int width;                  // Images width
137
138
    int height;                 // Images height