# CUFFT batching array

**URL:** <https://forums.developer.nvidia.com/t/cufft-batching-array/22537>\
**Category:** CUDA Programming and Performance\
**Created:** [May 19, 2011, 6:41pm UTC](https://forums.developer.nvidia.com/t/cufft-batching-array/22537 "2011-05-19T18:41:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonomon](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jonomon](https://forums.developer.nvidia.com/u/jonomon)\
**Post date:** [May 19, 2011, 6:41pm UTC](https://forums.developer.nvidia.com/t/cufft-batching-array/22537/1 "2011-05-19T18:41:18Z")

</div>

Hello there

I’m trying to use the CUFFT library to quickly calculate FFTs.

How am I supposed to sort the data out in that array?

Let’s say I have 10 arrays of 100 values.

Should I place all the 10 arrays in a 1D 1,000 valued array consecutively?

ie:  
[(ARRAY 1) (ARRAY 2) (ARRAY 3) … etc] ← 1,000 valued array.

if not how would I do it?

Afterwards I would input my plan as follows  
cufftPlan1d(&plan,1000, CUFFT\_R2C,100);

Help would be much appreciated

Thank you  
Jonathan
