CUFFT batching array

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