/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 19:24:16 UTC
  • Revision ID: csa@dside.dyndns.org-20091215192416-hsqqyaivreiw1gso
Print timings using reportMessage calls

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        fftFree(ps);
136
136
        return DICT_ERROR_CUDA_MALLOC;
137
137
    }
138
 
 
 
138
        
 
139
        // DS: We don't actually need that to be CP_BLOCK, just unblock computations in loadbase and set to single
139
140
    cuda_err = cudaMalloc((void**)&ps->cuda_base_buffer, CP_BLOCK * ps->fft_alloc_size * sizeof(cufftReal));
140
141
    if (cuda_err) {
141
142
        reportError("Device memory allocation of %u*cufftReal bytes for cuda_base_buffer is failed", ps->fft_alloc_size);