1
#define MAXNPROJECTIONS 4096 //!< Maximum number of supported projections per slices
2
#define HST_CUDA_MAX_DEVICES 16 //!< Maximum CUDA-devices supported by the module (check tex_projes)
4
#define BLOCK_SIZE 16 //!< CUDA block size (for filtering)
5
#define BLOCK_SIZE_X BLOCK_SIZE //!< Check kernels, there are some expectations
6
#define BLOCK_SIZE_Y BLOCK_SIZE //!< Check kernels, there are some expectations
8
/* We should be carefoul here, in many cases it faster to preform everything at once
9
probably due to the texture caching */
10
//#ifdef HST_OPTIMIZE_KEPLER
11
//# define BP_BATCH_SIZE 128 //!< Batch size (in blocks) for Back Projection (should be even)
12
//#else /* HW_OPTIMIZE_KEPLER */
13
//# ifdef HW_IGNORE_OLD_HARDWARE
14
//# define BP_BATCH_SIZE 128 //!< Batch size (in blocks) for Back Projection (should be even)
15
//# else /* HW_IGNORE_OLD_HARDWARE */
16
//# define BP_BATCH_SIZE 8 //!< Batch size (in blocks) for Back Projection (should be even)
17
//# endif /* HW_IGNORE_OLD_HARDWARE */
18
//#endif /* HW_OPTIMIZE_KEPLER */
19
//#define FFT_BATCH_SIZE 8 //!< Batch size (in blocks) for FFT transformations (should be even)
22
#define BP_BATCH_SIZE 512
23
#define FFT_BATCH_SIZE 256 //!< Anyway limited by size of constant memory