(discrete cosine transform) DCT on GPU


Although I have discussed some of this with some developers at Oceananigans.jl, I am reaching you out here to ask if anybody has a plan_dct! which works on GPU?

Should we parallel FFTW.jl?

Thank you,


1 Like

has anyone progressed on this?

In worst case you can use FFTs to calculate the DCTs, right?

I mean, it’s probably only constant factor worse.

well… I expected to have a plan

As far as I know, there is no plan available in CuFFT.

But based on FFT you can write a function plan_dct which instead plans a FFT and executes needed pre/postprocessing steps.

With LinearMaps.jl you can even multiply the resulting plan like a FFT plan.

1 Like