# many small fft's

**URL:** <https://forums.developer.nvidia.com/t/many-small-ffts/854>\
**Category:** CUDA Programming and Performance\
**Created:** [June 5, 2007, 3:36am UTC](https://forums.developer.nvidia.com/t/many-small-ffts/854 "2007-06-05T03:36:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![erlebach](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@erlebach](https://forums.developer.nvidia.com/u/erlebach)\
**Post date:** [June 5, 2007, 3:36am UTC](https://forums.developer.nvidia.com/t/many-small-ffts/854/1 "2007-06-05T03:36:28Z")

</div>

Hi,

I must perform many small 2D ffts. I can batch ffts, but only 1D ffts.  
Ideally, I should be able to parallelize in the batch direction, even for  
2D ffts, but cannot. Would it be possible to get some source code?  
What other solutions are there? Thanks.

Gordon

---

<div class="post-metadata">

**Author:** ![jimh](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jimh](https://forums.developer.nvidia.com/u/jimh)\
**Post date:** [June 5, 2007, 3:46pm UTC](https://forums.developer.nvidia.com/t/many-small-ffts/854/2 "2007-06-05T15:46:52Z")

</div>

I am doing many small 2D FFTs in my code, too. The overhead of doing them separately was killing performance, so I wrote a batched 2D implementation on top of cuFFT. The source is posted in one of the CUDA subforums. Search for “batched” and you should be able to find it. I will try to find it and post a link.

---

<div class="post-metadata">

**Author:** ![jimh](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jimh](https://forums.developer.nvidia.com/u/jimh)\
**Post date:** [June 5, 2007, 3:50pm UTC](https://forums.developer.nvidia.com/t/many-small-ffts/854/3 "2007-06-05T15:50:19Z")

</div>

Here it is:

[url=“[http://forums.nvidia.com/index.php?showtopic=34241](http://forums.nvidia.com/index.php?showtopic=34241)”][The Official NVIDIA Forums | NVIDIA](http://forums.nvidia.com/index.php?showtopic=34241%5B/url%5D)
