2D Convolution via FFT gives all 0

2D Convolution via FFT gives all 0

Hi, I'm trying to use MKL to facilitate multidimensional convolution. For a same piece of code, 2D convolution works with direct mode but gives all zero with FFT mode. Is there any examples or tips on using this feature? Many thanks.