/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.cu.h

  • Committer: Suren A. Chilingaryan
  • Date: 2009-12-15 23:25:31 UTC
  • Revision ID: csa@dside.dyndns.org-20091215232531-9v9a2rpc1fe7gjc8
Count hardware initialization time, cmake scripts fixups

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    if (ps->image_buf) {
34
34
        dictImageFree(ps);
35
35
    }
36
 
    
 
36
 
 
37
#ifdef DICT_HW_MEASURE_TIMINGS
 
38
    memset(ps, 0, sizeof(TProcessingState) - sizeof(ps->time));
 
39
#else  /* DICT_HW_MEASURE_TIMINGS */
37
40
    memset(ps, 0, sizeof(TProcessingState));
 
41
#endif /* DICT_HW_MEASURE_TIMINGS */
38
42
 
39
43
}
40
44