JuliaGPU / CUDA.jl

CUDA programming in Julia.
https://juliagpu.org/cuda/
Other
1.16k stars 206 forks source link

Add convert method for ScaledPlan #2409

Closed david-macmahon closed 2 weeks ago

david-macmahon commented 3 weeks ago

This allows inverse CUFFT plans to be passed to CUFFT functions that take a cufftHandle. These CUFFT plans are wrapped in an AbstractFFTs.ScaledPlan so we need the conversion of the ScaledPlan to call convert on the contained CUFFT plan.

maleadt commented 3 weeks ago

Thanks! Could you add a test?

david-macmahon commented 3 weeks ago

I added a couple of tests in a new testset. Please let me know if they aren't adequate. Thanks!