diff --git a/src/fftw.h b/src/fftw.h index 4a0f6b1b0..43a186e76 100644 --- a/src/fftw.h +++ b/src/fftw.h @@ -418,14 +418,6 @@ void centerFFT_2D_CPU( int xshift, int yshift) { -#ifdef DEBUG_CUDA - if (image_size > (size_t)std::numeric_limits::max()) - ACC_PTR_DEBUG_INFO("centerFFT_2D: image_size > std::numeric_limits::max()"); - if (image_size*(size_t)batch_size > (size_t)std::numeric_limits::max()) - ACC_PTR_DEBUG_INFO("centerFFT_2D: image_size*batch_size > std::numeric_limits::max()"); - if (pixel_end > image_size) - ACC_PTR_DEBUG_INFO("centerFFT_2D: pixel_end > image_size"); -#endif size_t pix_start = pixel_start; size_t pix_end = pixel_end; for(int batch=0; batch (size_t)std::numeric_limits::max()) - ACC_PTR_DEBUG_INFO("centerFFT_3D: image_size > std::numeric_limits::max()"); - if (image_size*(size_t)batch_size > (size_t)std::numeric_limits::max()) - ACC_PTR_DEBUG_INFO("centerFFT_3D: image_size*batch_size > std::numeric_limits::max()"); - if (pixel_end > image_size) - ACC_PTR_DEBUG_INFO("centerFFT_3D: pixel_end > image_size"); -#endif size_t pix_start = pixel_start; size_t pix_end = pixel_end; int xydim = xdim*ydim;