cuda - Required buffer for cuFFT -


this question buffer required cufft. in user guide documented that

in worst case, cufft library allocates space 8*batch*n[0]*..*n[rank-1] cufftcomplex or cufftdoublecomplex elements (where batch denotes number of transforms executed in parallel, rank number of dimensions of input data (see multidimensional transforms) , n[] array of transform dimensions) single , doubleprecision transforms respectively.

what "array of transform dimensions" mean? how buffer cufft need? understand above needs @ least 8x size of array being ffted not make sense me

thanks in advance

daniel

the "array of transform dimensions" array containing problem size in each dimension, see section on multidimensional transforms more information.

cufft allocating temporary space able accommodate intermediate data, part of doc quoted says "the worst case", it's not "at least 8x", it's @ most. doc goes on say:

depending on configuration of plan, less memory may used. in specific cases, temporary space allocations can low 1*batch*n[0]*..*n[rank-1] cufftcomplex or cufftdoublecomplex elements.

so nxm 2d single precision transform:

1*n*m*sizeof(cufftcomplex) <= space tmp data <= 8*n*m*sizeof(cufftcomplex) 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -