What is the proper way to use cufftGetSize1d
(or any of the cufftGetSize*
) functions?
I tried with:
cufftHandle plan;
size_t workSize;
cufftResult result;
cufftCreate(&plan);
result = cufftGetSize1d(plan, 1000, CUFFT_C2C, 1, &workSize);
However, the result of last call is always CUFFT_INVALID_VALUE
, regardless of size, type, or batch i use. The same is with 2d and 3d variants. cufftEstimate1d
works correctly.