且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否有可能重叠分批的FFT与CUDA的cuFFT库和cufftPlanMany?

更新时间:2023-02-26 22:36:39

如果使用高级数据布局 idist 参数应允许您设置2个连续变换输入集的起始点之间的任意偏移。

If you use Advanced Data Layout, the idist parameter should allow you to set any arbitrary offset between the starting points of 2 successive transform input sets.

对于1D情况,将根据以下基于您传递的参数选择输入:

For the 1D case, the input will be selected according to the following based on the parameters you pass:

input[ b * idist + x * istride]

(其中 b 是当前正在处理的批次号,即b = 0,1,2 ... size]

(where b is the batch number currently being processed, i.e. b = 0, 1, 2, ... batch size)

idist和odist参数指示输入和输出数据中两个连续批次的第一个元素之间的距离。

"The idist and odist parameters indicate the distance between the first element of two consecutive batches in the input and output data."