The CRoutine_DFT::FT(...) function assumes a local working size of 128. This setting arbitrarily restricts the image sizes (in total number of pixels) to multiples of 128. This number should be determined dynamically from
the size of the image
the total local working size supported by the GPU (as the DFT kernel uses shared memory)
The CRoutine_DFT::FT(...) function assumes a local working size of 128. This setting arbitrarily restricts the image sizes (in total number of pixels) to multiples of 128. This number should be determined dynamically from