Hi,
I am trying to implement gpu processing in my code. Most of the bessel functions are supported by gpu but besselh is not. Am I wrong? If it is not supported, is there any way around it?
I would like to calculate a hankel function of zero order 2nd type
Thanks

 Accepted Answer

Matt J
Matt J on 11 Jan 2023
Most of the bessel functions are supported by gpu but besselh is not. Am I wrong?
If "supported by GPU" means does it accepts gpuArrays as input, then yes, that appears to be the case. If instead you mean does the GPU Coder support it, then that is wrong, besselh does appear to be supported.
If the former, it appears that you can express besselh in terms of besselj and bessely
which do accept gpuArray input.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!