def cufftGetSizeMany(plan, rank, n,
                     inembed, istride, idist,
                     onembed, ostride, odist, fft_type, batch):

    worksize = _types.worksize()
    status = _libcufft.cufftGetSizeMany(plan, rank, n,
                                        inembed, istride, idist,
                                        onembed, ostride, odist,
                                        fft_type, batch,
                                        ctypes.byref(worksize))
    cufftCheckStatus(status)
    return worksize.value
Return more accurate estimate of work area size required for batched FFT,
dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/cufft.py/cufftGetSizeMany