Are all operations in material calculated on gpu?

Hello,
Title says all. I’m working on shader using fast fourier transform, And I wonder if code I implement with material functions will be executed on gpu.
Thanks!

The actual computation is done on the gpu yes, if you are passing in paramaeters I belive the cpu sends a packet to the gpu on the render thread, don’t quote me on that though!
Best reguards, cyberblastsoft!