# CUFFT Implementation

**URL:** <https://forums.developer.nvidia.com/t/cufft-implementation/1015>\
**Category:** CUDA Programming and Performance\
**Created:** [June 28, 2007, 9:17pm UTC](https://forums.developer.nvidia.com/t/cufft-implementation/1015 "2007-06-28T21:17:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheli](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@cheli](https://forums.developer.nvidia.com/u/cheli)\
**Post date:** [June 28, 2007, 9:17pm UTC](https://forums.developer.nvidia.com/t/cufft-implementation/1015/1 "2007-06-28T21:17:09Z")

</div>

What FFT variants are implemented in CUFFT library? Can I assume they are compatible and comparable to FFTW, given the same input data?

One of my purpose is to compare FFT performance on various platforms. If CUFFT implementation are close to FFTW, then I don’t need to port the code.

Many thanks in advance!!!

---

<div class="post-metadata">

**Author:** ![Simon\_Green](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Simon\_Green](https://forums.developer.nvidia.com/u/Simon_Green)\
**Post date:** [June 29, 2007, 11:10am UTC](https://forums.developer.nvidia.com/t/cufft-implementation/1015/2 "2007-06-29T11:10:36Z")

</div>

CUFFT is very similar to FFTW. The documentation is included in the SDK download. From the docs:

This version of the CUFFT library supports the following features:

- 1D, 2D, and 3D transforms of complex and real‐valued data.
- Batch execution for doing multiple 1D transforms in parallel.
- 2D and 3D transform sizes in the range [2, 16384] in any  
dimension.
- 1D transform sizes up to 8 million elements.
- In‐place and out‐of‐place transforms for real and complex data.

---

<div class="post-metadata">

**Author:** ![rockets](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rockets](https://forums.developer.nvidia.com/u/rockets)\
**Post date:** [June 30, 2007, 5:43am UTC](https://forums.developer.nvidia.com/t/cufft-implementation/1015/3 "2007-06-30T05:43:49Z")

</div>

> [@](#):
>
> CUFFT is very similar to FFTW. The documentation is included in the SDK download. From the docs:
> 
> This version of the CUFFT library supports the following features:
> 
> - 1D, 2D, and 3D transforms of complex and real‐valued data.
> 
> - Batch execution for doing multiple 1D transforms in parallel.
> 
> - 2D and 3D transform sizes in the range [2, 16384] in any
> 
> dimension.
> 
> - 1D transform sizes up to 8 million elements.
> 
> - In‐place and out‐of‐place transforms for real and complex data.
> 
> [snapback]215785[/snapback]

Simon, what would be the limit for a 2D complex transform on an 8800GTX?

---

<div class="post-metadata">

**Author:** ![cheli](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@cheli](https://forums.developer.nvidia.com/u/cheli)\
**Post date:** [July 2, 2007, 3:31pm UTC](https://forums.developer.nvidia.com/t/cufft-implementation/1015/4 "2007-07-02T15:31:34Z")

</div>

> [@](#):
>
> CUFFT is very similar to FFTW. The documentation is included in the SDK download. From the docs:
> 
> This version of the CUFFT library supports the following features:
> 
> - 1D, 2D, and 3D transforms of complex and real‐valued data.
> 
> - Batch execution for doing multiple 1D transforms in parallel.
> 
> - 2D and 3D transform sizes in the range [2, 16384] in any
> 
> dimension.
> 
> - 1D transform sizes up to 8 million elements.
> 
> - In‐place and out‐of‐place transforms for real and complex data.
> 
> [snapback]215785[/snapback]

Can you elaborate that how ‘similar’ CUFFT is to FFTW? Like does CUFFT also perform planning as FFTW does, and applies different codelets to the subprobems? I know CUFFT provides a similar interface to FFTW, but I care more about its implementation.

Thank you!!!
