/tomo/pyhst

To get this branch, use:
bzr branch http://darksoft.org/webbzr/tomo/pyhst

« back to all changes in this revision

Viewing changes to hst_cuda/hst_cuda.cu

  • Committer: Suren A. Chilingaryan
  • Date: 2011-05-31 07:43:16 UTC
  • Revision ID: csa@dside.dyndns.org-20110531074316-w1i4zg6xvdgt9nee
Fix compilation of CUDA module

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
*/
39
39
 
40
40
#include "debug.h"
 
41
#include "hw_tools.h"
41
42
#include "hst_setup.h"
42
43
#include "hst_reconstructor.h"
43
44
 
682
683
            } else if (setup->oversampling) {
683
684
                hst_cuda_oversample4_kernel<<<dimGrid, dimBPBlock, 0, ctx->stream[i%2]>>> (num_proj, num_bins, ctx->gpu_result, setup->offset_x  -  axis_position - 0.5f, setup->offset_y - axis_position - 0.5f, batch);
684
685
            } else {
685
 
                hst_cuda_kernel<<<dimGrid, dimBPBlock, 0, ctx->stream[i%2]>>> (num_proj, num_bins, ctx->gpu_result, setup->offset_x  -  axis_position - 0.5f, setup->offset_y - axis_position - 0.5f, batch);
 
686
                hst_cuda_linear_kernel<<<dimGrid, dimBPBlock, 0, ctx->stream[i%2]>>> (num_proj, num_bins, ctx->gpu_result, setup->offset_x  -  axis_position - 0.5f, setup->offset_y - axis_position - 0.5f, batch);
686
687
            }
687
688
        } else {
688
 
            hst_cuda_gt200_kernel<<<dimGrid, dimBPBlock, 0, ctx->stream[i%2]>>> (num_proj, num_bins, ctx->gpu_result, setup->offset_x  -  axis_position - 0.5f, setup->offset_y - axis_position - 0.5f, batch);
 
689
            hst_cuda_kernel<<<dimGrid, dimBPBlock, 0, ctx->stream[i%2]>>> (num_proj, num_bins, ctx->gpu_result, setup->offset_x  -  axis_position - 0.5f, setup->offset_y - axis_position - 0.5f, batch);
689
690
        }
690
691
# endif /* ! HST_FAST_MODE */
691
692
#endif /* HST_TEXTURE16 */