Closed zhuohoudeputao closed 1 year ago
You can't do an in-place transform (i
) with different input and output strides. Remove the i
and it should work.
You can't do an in-place transform (
i
) with different input and output strides. Remove thei
and it should work.
But where and how does the code determine that the input and output strides are not equal? I just found that it can create a proper plan.
I just found that it can create a proper plan.
How?
In particular, the failure you are seeing is precisely because plan_guru_r2r
returned NULL
for this problem, because there was no algorithm in FFTW that handled this combination of parameters.
(Run with ./bench -v3 ik16:2:1h
to see more verbose output, and you can see that it is actually calling the planner here.)
I just found that it can create a proper plan.
How?
In particular, the failure you are seeing is precisely because
plan_guru_r2r
returnedNULL
for this problem, because there was no algorithm in FFTW that handled this combination of parameters.(Run with
./bench -v3 ik16:2:1h
to see more verbose output, and you can see that it is actually calling the planner here.)
Thanks for your help. I mean "can't", sorry for the wrong typing.
And another problem, why
./bench -s ir16:2:1
can do? I mean its input and output strides are also different.
I got the error when I ran
To my knowledge, it tests the r2r guru interface with instride=2 and outstride=1, but it seems fail to create the plan.