Skip to content

rCuFFTPlan not defined #2509

@BoundaryValueProblems

Description

@BoundaryValueProblems

The following line was working previously at version 5.4.3.. However, with v5.5.2, it fails to precompile:

function CUDA.cu(P::FFTW.rFFTWPlan)
    return plan_rfft(cu(zeros(real(eltype(P)), P.sz)), P.region)
end
CUDA.cu(P::CUFFT.rCuFFTPlan) = P

The above generates the error: rCuFFTPlan not defined.

For v5.4.3 and earlier, we had to do the above since CUDA.cu did not accept FFTW.rFFTWPlan. For v5.5.2, does it accept FFTW.rFFTWPlan directly so that the above conversion function is not necessary anymore?
Thanks a lot for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions